Sunday, January 26, 2014

HowTo: Get Ubuntu version from the command line

Method 1
$: cat /etc/os-release | grep PRETTY_NAME

Method 2
$: cat /etc/issue

Method 3
$: lsb_release -d -s

No comments: