You can check the Unix version using the command line by running the following command:
uname -a
This command will display the system’s name, version, and other information about the operating system. Alternatively, you can use the command:
lsb_release -a
It will show you the release version, codename and other details of the OS.