linuxshelloperating-systemfedoralsb

See version of Operating System in shell unix


How can I see in the shell unix the version and the operating system that the machine have?

I try the command lsb_release but i can't see with that.

Any solution?


Solution

  • If you are using Linux you can see

    cat /etc/fedora-release

    This way you just can know the version if you known the distribution in this case Fedora. but you can always try for a file *-release in the folder /etc