จะรู้ได้อย่างไรว่าฉันใช้ Linux Distribution ตัวใด?
uname -a
จะช่วยให้
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
ฉันจะรู้ได้อย่างไรว่า Ubuntu / Debian / Fedora หรือ Redhat
ฉันใช้/etc/init.d/serviced restart
สำหรับการรีสตาร์ท serevices ดูเหมือนว่าจะไม่ใช่ตระกูล Redhat
[itf][~]$ cat /etc/issue
cat: /etc/issue: No such file or directory
[itf][~]$ cat /etc/issue.net
cat: /etc/issue.net: No such file or directory
[itf][~]$ lsb_release -a
-sh: lsb_release: command not found
[itf][~]$ cat /etc/*-release
cat: /etc/*-release: No such file or directory
[itf][~]$ cat /etc/*-version
cat: /etc/*-version: No such file or directory
[itf][~]$ cat /etc/*release
cat: /etc/*release: No such file or directory
[itf][~]$ cat /etc/*_release
cat: /etc/*_release: No such file or directory
[itf][~]$ cat /etc/*version
cat: /etc/*version: No such file or directory
[itf][~]$