Quick Start Guide

(for example, info ls). You can browse an info page with a viewer directly in the
shell and display the dierent sections, called “nodes.” Use [Space] to move for-
ward and [<—] to move backwards. Within a node, you can also browse with
[Page ] and [Page ] but only [Space] and [<—] will take you also to the previous
or subsequent node. Like for the man pages, press [Q] to end the viewing mode.
Note that man pages and info pages do not exist for all commands. Sometimes both
are available (usually for key commands), sometimes only a man page or an info
page exists, and sometimes neither of them are available.
7.2.4 Bash Shortcut Keys
After having entered several commands, your shell will begin to ll up with all sorts
of commands and the corresponding outputs. In the following table, nd some useful
shortcut keys for navigating and editing in the shell.
FunctionShortcut Key
Clears the screen and moves the current line to
the top of the page.
[Ctrl] + [L]
Aborts the command which is currently being ex-
ecuted.
[Ctrl] + [C]
Scrolls upwards.[Shift] + [Page ↑]
Scrolls downwards.[Shift] + [Page ↓]
Deletes from cursor position to start of line.[Ctrl] + [U]
Deletes from cursor position to the end of line.[Ctrl] + [K]
Closes the shell session.[Ctrl] + [D]
Browses in the history of executed commands.[], []
7.3 Working with Files and Directories
To address a certain le or directory, you must specify the path leading to that direc-
tory or le. As you may know from MS DOS or Mac OS already, there are two ways
to specify a path:
Absolute Path
Enter the entire path from the root directory to the relevant le or directory.
Shell Basics 89