Here I will show you a few ways to find out which version of linux you're running, which may come in handy when writing scripts or something of that sort.
uname -a
cat /proc/version
dmesg | grep "Linux version"
You can also find out which distribution release it is like so;
cat /etc/*-release
No comments:
Post a Comment