cat /etc/issue.net
This will show Ubuntu version number but without codename:
Ubuntu 10.04.1 LTS
Or
lsb_release -a
Hello everyone… Thank you for visiting “Fix My Tech Blog” It’s always pulling hair every time one of my devices fails. It’s really hard to go around search engines to look for a solution. I created this blog with the hope of helping other users in the same situations. This blog will cover most devices (Windows, Linux, Android, Mac, laptop and other devices)
cat /etc/issue.net
Ubuntu 10.04.1 LTS
Or
lsb_release -a