3 ways to get Linux release information from bash terminal
|
|
Let’s say you’ve manage to get yourself into a GNU/Linux bash terminal. What can you do in order to determine its distro and release information? Listed here are the three methods to get release information of a running GNU/Linux box.
lsb_release method
You can type “lsb_release -a”

/etc/*release and /etc/*issue method
Alternatively, you could try typing “cat /etc/*release” or “cat /etc/*issue”.

/proc/version method
If else fails, you could always try the “cat /proc/version” method to see where the kernel came from.

Hope this would help!
Tags: bash, debian, distro, gnu/linux, linux, terminal, tips, ubuntu
Keep updated with the latest posts, be a part of over 1,000 subscribers! :
Subscribe to your email
You might also want to read...
- Grake – a tool for scanning web pages for Youtube Video URL
- Using lsb_release to get Ubuntu release information
- How to Hide Apache2 and PHP version without using mod_security in Ubuntu Linux
- Debian GNU/Linux 4.0 (Etch) was officially released
- Ubuntu Release, Maintenance and Support Schedule
- How to convert AVI video files to Animated GIF using ffmpeg (in Linux)
- How to secure server from SYN-flood attack using iptables


Leave a Comment