Which version of Linux is this?


/ Published in: Bash
Save to your folder(s)

(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'


Copy this code and paste it in your HTML
  1. # version
  2. lsb-release -v
  3.  
  4. # distro
  5. lsb-release -i
  6.  
  7. # nick
  8. lsb-release -c
  9.  
  10. # those and more
  11. lsb-release -a

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

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.