查看Ubuntu版本命令:
# cat /etc/issue
查看位数(32或64bit)命令:# uname -a
查看电脑品牌命令:
# lshw | grep -i 'Vendor' | head -n 1
查看电脑品牌version命令:# lshw | grep -i 'version' | head -n 10
查看电脑品牌型号、CPU及core数命令:# lshw | grep -i 'Product' | head -n 5
查看Ethernet信息命令:
# lspci -v | grep -i 'Ethernet'
查看内存及Swap信息:
# free -g
主板信息:
# dmidecode | grep -i 'serial number' | head -n 1