The tool uname is usually used to print the OS version on a Unix or Unix-like machine. But it does not always reveal the actual Linux distribution. For example:
myhost:/home/user$ uname -a
myhost:/home/user $ Linux myhost 2.6.32-24-generic-pae #43-Ubuntu SMP Thu Sep 16 15:30:27 UTC 2010 i686 GNU/Linux
If this Linux distribution is LSB compliant, we can use lsb_release to get what we need:
myhost: /home/user$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 10.04.1 LTS
Release: 10.04
Codename: lucid
Great insights for students aiming to study in the top 10 university in world.
ReplyDeleteReally nice site! The platform simplifies the process in a smart way. The personalized suggestions make decision-making much easier. universities in Germany.
ReplyDeleteVery helpful post. The platform makes the entire process feel more organized and clear.
ReplyDeleteIt reduces unnecessary confusion and keeps things simple free education countries for indian students.