Check the version of the virtual machine operating system

To check the version of the virtual machine operating system, you can follow the steps below:

  1. Turn on the virtual machine and log into the operating system.

  2. Open a terminal and enter the following command:

  3. lsb_release -a

    This command displays version information for the operating system, including the release name, version number, and description.

  4. In addition, you can also try the following command to get the version information of the operating system:

  5. cat /etc/os-release

    This command displays the name, version number, and ID of the operating system.

  6. If you are using the Windows operating system, you can press the Win+R key to open the Run dialog box, then enter "winver", and click the "OK" button. This command will display the version information of the Windows operating system, including version number and version type.

In short, to view the version of the operating system of the virtual machine, you need to open a terminal or run the dialog box, and enter the corresponding command to obtain the version information of the operating system. 

Guess you like

Origin blog.csdn.net/qq_39085747/article/details/129797446