Q. . I'm a new Linux user. Can you tell me commonly used Linux / UNIX command?
A. If you are new to Linux/FreeBSD or Solaris then you will find that there are some very powerful commands that you use repeatedly. Here is a list of commonly used commands:
Shutdown the operating system
shutdown -h now
Reboot the operating system
Tweet itFacebook itGoogle+ itPDF itFound an error/typo on this page?
Display the manual (man) page for the given command. The must command for mastering Linux/UNIX. If you do not know how to use some command, use man to display its manual page. Remember you can exit a man page by pressing q.
Switch the current user. If you logged in as vivek and need to change to user account jadmin, then you need to type following command:
su - jadmin
However, this command is mostly used to switch super user account. Just type command su - and you will switch to root user account with its entire environment exported
Display the environment variable:
Display a message on the screen or display value of environment variable. For example, display value of HOME variable:
Setup and export environment variable, for example setup JAVA path with following command:
Display list of currently running process. To exit top press q
Display full path of shell command. For example display full path of gcc command:
Display list of logged in users
Display what users are doing
Display status of network
Display or setup routing table
Manage network interface
Red hat Linux menu driven utility to configure system
Suse Linux menu driven utility to configure system
FreeBSD menu driven utility to configure system