Linux 基本操作命令
打开终端快捷键
ctrl+shift+N
增大字体快捷键
ctrl + shift + +
缩小字体快捷键
ctrl + -
查看当前所属终端
tty
不同终端间进行通讯
echo hello -> /dev/pts/1
对所有终端广播消息,系统10分钟后关机
[[email protected] etc]# shutdown +10
取消关机
[[email protected] etc]# shutdown -c
列出文件详细信息
[[email protected] ~]# ls -l
列出隐藏文件
[[email protected] ~]# ls -a
列出文件从大到小排序
[[email protected] ~]# ls -lS /root
创建别名
[[email protected] /]# alias vimens33=“vim /etc/sysconfig/network-scripts/ifcfg-ens33”
删除别名
[[email protected] /]# unalias vimens33
返回上级目录
[[email protected] network-scripts]# cd …
返回前一个目录
[[email protected] sysconfig]# cd -
清屏快捷键
[[email protected] ~]# clear
帮助命令
[[email protected] ~]# man ls
定时关机
[[email protected] ~]# shutdown 22:10
立即关机
[[email protected] ~]# shutdown -h now
[[email protected] ~]# init 0