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?
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?
You tagged your question with Ubuntu, so here is a solution for Ubuntu:
lsb_release -a
will give you the version of Ubuntu installed.
If you are unsure if it is 32 or 64 bit you can call file /sbin/init
.
The kernel version used is shown when running uname -a
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