1. Home
  2. Docs
  3. Beginning UNIX on Raven
  4. Files and navigation
  5. Being lazy

Being lazy

Tab competition

Tab completion is a function that helps fill in commands, directories and filenames as far as the system is able.  By partially typing a command and then pressing tab, the system tries to fill in the rest for you:

cd /h<tab>

cd /home/

History

Sometimes you will want to repeat a command, or reissue a previously executed command with minor modifications.  The system keeps a history of your commands that can be viewed using the history command:

history

1      cd /home

2      history

This can be useful to create a backup of any work or scripts that you have undertaken.  However, when you are actually working pressing the up and down arrows when on the command line scrolls through this list of your history