Typical Linux Shell Commands
Here are some commands that a typical UNIX shell provides and what they do:
- logout
- This tells the login shell to log you out of the system. After
doing this, the computer will again display a login prompt and
wait for the next user to log in. This only works within a login
shell.
- exit
- This tells the shell to exit. If the shell is a login shell, it
also tells it to log you out of the system. Otherwise, exiting a
shell brings you back to the shell from which the one you are
exiting was started (i.e. the previous shell).
- cd directory
- Change (move into) the directory directory. This makes
directory the new current directory.