Check Virtual Machine

lspci utility can be used to display all the PCI buses connected to the system. Using this utility, we can see if visualization technologies such as “VMWare” or “VirtualBox” is running in the system using following command.

lspci | grep -i Virtual