linux 常用命令

CPU 逻辑个数 

  cat /proc/cpuinfo |grep "processor"

硬盘

  df -h

内存

  free -h

 配置dns

  sudo vim /etc/resolv.conf

重启

  sudo reboot

Ubuntu版本查看

  lsb_release -a

原文地址:https://www.cnblogs.com/wh-blog/p/10875077.html