Friday, May 23, 2014

Linux Commands - 3

1:24 PM






This article explains some of the most used Linux commands and their basic usage which will be more helpful for beginners. All these commands should be entered at the command prompt and you must press the ENTER button to execute the desired command. Please note that all Linux commands are case sensitive.

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

Written by

0 comments :

Post a Comment

 

© 2014 Linux Storages | Updated . All rights resevered. Designed by Templateism