查看liunx系统基本信息
lscpu cpu查看
free -h 内存查看
lsblk 硬盘查看
init 3 关闭可视化窗口
init 6 重启
reboot 重启
host name -i 查看 ip
ip addr show 查看网卡
uname -r 查看内核
cat /etc/redhat-release 查看操作系统
cat /root/.bashrc 别名修改
原文:https://www.cnblogs.com/zzl0916/p/13830880.html