Return to Snippet

Revision: 5785
at April 5, 2008 20:14 by cczona


Updated Code
# version
lsb-release -v

# distro
lsb-release -i

# nick
lsb-release -c

# those and more
lsb-release -a

Revision: 5784
at April 3, 2008 21:14 by cczona


Initial Code
cat /proc/version

Initial URL
http://man-wiki.net/index.php/1:lsb_release

Initial Description
(EDITED: Originally I had this snip using 'cat /proc/version'.  But have since replaced it with a more reliable  -- and specific -- method)

If you need still more info (or are on a BSD), see 'uname', 'dpkg-architecture'

Initial Title
Which version of Linux is this?

Initial Tags
linux

Initial Language
Bash