21. uname - Print system information.
root@linuxstorage:~#uname
Linux
22. uname -a - Print whole system architecture.
root@linuxstorage:~#uname -a
Linux localhost.localdomain 2.6.32-358.el6.x86_64 #1 SMP Fri Feb 22 00:31:26 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
23. uname -r - Print system kernel version.
root@linuxstorage:~#uname -r
2.6.32-358.el6.x86_64
24. uname -m - Print system os is 64 or 32 bit architecture.
root@linuxstorage:~#uname -m
x86_64
25. uname -n - Print system hostname.
root@linuxstorage:~#uname -n
localhost.localdomain
26. hostname - Print or set system name.
root@linuxstorage:~#hostname
localhost.localdomain
27. shutdown - Shutdown linux system.
root@linuxstorage:~#shutdown
28. init 0 - Shutdown linux system.
root@linuxstorage:~#init 0
29. reboot - Restart linux system.
root@linuxstorage:~#reboot
30. init 6 - Restart linux system.
root@linuxstorage:~#init 6
0 comments :
Post a Comment