光标移到行首:Ctrl+a
光标移到行尾:Ctrl+e
删除所有内容:Ctrl+u
2.Vim命令模式
光标移到行首:0或者Shift+^
光标移到行尾:Shift+$
光标移到首行:gg
光标移到尾行:Shift+g
撤销当前操作:u
3.查看Linux版本信息
lsb_release -a
cat /etc/redhat-release
cat /etc/issue
cat /proc/cpuinfo
cat /proc/version
uname -a
uname -r

lsb_release -a command not found 解决方法

[root@localhost ~]# lsb_release -a
-bash: lsb_release: command not found

解决方法:
yum install -y redhat-lsb
4.查看内存
free -m
free -h
cat /proc/meminfo
5.Linux终端常用快捷键
新建终端:Ctrl + Shift +T
放大终端:Ctrl + Shift + +
缩小终端:Ctrl + -
终端全屏:F11
VMware全屏:Ctrl + Alt + Enter

原文来自:https://www.jianshu.com/p/743e6bc4e917

本文地址:https://www.linuxprobe.com/skill-maintenance-engineer.html编辑:public,审核员:逄增宝

Linux命令大全:https://www.linuxcool.com/

Linux系统大全:https://www.linuxdown.com/

红帽认证RHCE考试心得:https://www.rhce.net/