1.机器型号:dmidecode | grep "Product Name"
2.操作系统:cat /etc/issue
3.CPU型号:cat /proc/cpuinfo | grep name | cut -f2 -d: | uniq -c
4.查看内存:cat /proc/meminfo
5.查看硬盘: df -lh fdisk -l
1.机器型号:dmidecode | grep "Product Name"
2.操作系统:cat /etc/issue
3.CPU型号:cat /proc/cpuinfo | grep name | cut -f2 -d: | uniq -c
4.查看内存:cat /proc/meminfo
5.查看硬盘: df -lh fdisk -l