Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to know which Linux Distribution I'm using? [closed]

Tags:

Moved to https://superuser.com/questions/80251/how-to-know-which-linux-distribution-im-using

How to know which Linux Distribution I'm using?

uname -a gives Linux xxxxxx.net 2.6.9-42.0.3.EL.wh1smp #1 SMP Fri Aug 14 15:48:17 MDT 2009 i686 i686 i386 GNU/Linux How can I know this is Ubuntu/Debian/Fedora or Redhat?

I uses /etc/init.d/serviced restart for restarting serevices, seems it is not Redhat family

Update:

[~]$ cat /etc/issue cat: /etc/issue: No such file or directory [~]$ cat /etc/issue.net cat: /etc/issue.net: No such file or directory [~]$ lsb_release -a -sh: lsb_release: command not found [~]$ cat /etc/*-release cat: /etc/*-release: No such file or directory [~]$ cat /etc/*-version cat: /etc/*-version: No such file or directory [~]$ cat /etc/*release cat: /etc/*release: No such file or directory [~]$ cat /etc/*_release cat: /etc/*_release: No such file or directory [~]$ cat /etc/*version cat: /etc/*version: No such file or directory [~]$ 
like image 592
Mithun Sreedharan Avatar asked Dec 08 '09 05:12

Mithun Sreedharan


1 Answers

Try this:

cat /etc/*-release 

You could also try /etc/*-version

like image 114
Dumb Guy Avatar answered Sep 28 '22 07:09

Dumb Guy