S and someone shows you a distro, and you want to know with certainty (almost) what, there are some commands to help. I give you the output of my Debian:
cat / etc / issue
Debian GNU / Linux lenny / sid \ n \ l cat / etc / motd Linux Debian 2.6.22-ck1-edmondk # 1 SMP Mon Aug 21 18:58:10 EDT 2007 i686
The programs included with the Debian GNU / Linux system are free software; the exact distribution terms for descritti Each program are in the individual files in / usr / share / doc / * / copyright. Debian GNU / Linux comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law.
Debian also provides the file / etc / debian_version that contains the version name
or also
cat / etc / debian_version
lenny / sid
Then you can also use the proc filesystem:
cat / proc / version
Linux version 2.6.22-ck1-edmondk (Debian root @) (gcc version 4.1.3 20070812 (prerelease) (Debian 4.1.2-15)) # 1 SMP Mon Aug 21 18:58:10 EDT 2007
More info can be found in usr / share / doc
Then a high way is to understand that the package manager you use, if apt, rpm, yast. So, Debian, Red Hat, Suse.
No related posts.
Tags: distro , Gnu-Linux , shell




















