查看linux系统是物理机还是虚拟机 在bash里输入: dmidecode -s system-product-name 或 lshw -class system 或 dmesg | grep -i virtual