PDA

View Full Version : Linux OS version check



Fli
04-11-2014, 11:34 AM
Is there any universal command to check Linux OS distribution name and if its 64bit?

So far i used:

uname -a

86
(Redhat Enterprise linux (EL) version 5.x and 64 bit)


and harder to remember linux command:

cat /etc/*release

87

there is also "lsb_release -a" command, but it dont works everywhere

Hostfinch
07-20-2018, 10:13 AM
I use cat /etc/*release and usually the results are correct