Changes

Determining Your Linux Version

152 bytes added, 21:13, 2 January 2018
/* Linux Distribution Specific */
The following lines were added (+) and removed (-):
' Many distributions create a 'release' text file in /etc.  Try typing 'ls -a /etc |grep -i release'=== Redhat ====== CentOS ==Redhat creates '/etc/redhat-release'CentOS creates '/etc/centos-release' === SuSE ===SuSE creates '/etc/SuSE-release'=== Ubuntu ===at the shell type: sudo nano /etc/apt/sources.list<BR>or within the GUI, System > About Ubuntu<BR>or at the shell type: lsb_release -a<BR>or at the shell type: sudo cat /etc/apt/sources.list|grep Release=== Redhat ===Redhat creates '/etc/redhat-release'=== SuSE ===SuSE creates '/etc/SuSE-release'=== Ubuntu ===at the shell type: sudo nano /etc/apt/sources.list<BR>or within the GUI, System > About Ubuntu<BR>or at the shell type: lsb_release -a<BR>or at the shell type: sudo cat /etc/apt/sources.list|grep Release
Bureaucrat, administrator
16,192
edits