uname -a
more/proc/version
cat/etc/issue
Forexample:
Ubantu:
root@onyorch:~#cat /etc/issue
Ubuntu14.04.2 LTS \n\l
root@onyorch:~#more /proc/version
Linuxversion3.13.0-46-generic (buildd@tipua) (gcc version 4.8.2 (Ubuntu4.8.2-19ubuntu1) )#77-Ubuntu
SMP MonMar 218:23:39 UTC 2015
root@onyorch:~#uname-a
Linuxonyorch3.13.0-46-generic #77-Ubuntu SMP Mon Mar 2 18:23:39 UTC 2015 x86_64x86_64x86_64 GNU/Linux
CentOS:
[110-CTS-user1@recovery-vm~]$uname -a
Linuxrecovery-vm2.6.32-431.23.3.el6.x86_64 #1 SMP Thu Jul 31 17:20:51 UTC 2014x86_64 x86_64x86_64 GNU/Linux
[110-CTS-user1@recovery-vm~]$more /proc/version
Linuxversion2.6.32-431.23.3.el6.x86_64 (mockbuild@c6b8.bsys.dev.centos.org) (gccversion4.4.7 2012031
3 (RedHat 4.4.7-4)(GCC) ) #1 SMP Thu Jul 31 17:20:51 UTC 2014
[110-CTS-user1@recovery-vm~]$cat /etc/issue
CentOSrelease 6.5(Final)
Kernel \ron an \m
Redhat:
<cts02-M0001:lss>/export/home/lss/logs/xlsRead/reqdir:
# uname-a
Linuxcts02-M00012.6.32-573.8.1.el6.x86_64 #1 SMP Fri Sep 25 19:24:22 EDT 2015x86_64 x86_64x86_64 GNU/Linux
<cts02-M0001:lss>/export/home/lss/logs/xlsRead/reqdir:
# more/proc/version
Linuxversion2.6.32-573.8.1.el6.x86_64 (mockbuild@x86-033.build.eng.bos.redhat.com)(gccversion 4.4.7
20120313(Red Hat4.4.7-16) (GCC) ) #1 SMP Fri Sep 25 19:24:22 EDT 2015
<cts02-M0001:root>/root:
# cat/etc/issue
Unauthorizeduse ofthis system is prohibited and may be prosecuted
to thefullest extentof the law. By using this system, you implicitly
agree tomonitoringby system management and law enforcement authorities.
If you donot agreewith these terms, DISCONNECT NOW.