Linux Bash Beginners - Guide 82
Linux Bash Beginners - Guide 82
Several special key combinations allow you to do things easier and faster with the
GNU shell, Bash, which is the default on almost any Linux system, see Section
3.2.3.2. Below is a list of the most commonly used features; you are strongly
suggested to make a habit out of using them, so as to get the most out of your
Linux experience from the very beginning.
The last two items in the above table may need some extra explanations. For
instance, if you want to change into the directory directory_with_a_very_long_name,
you are not going to type that very long name, no. You just type on the command
line cd dir, then you press Tab and the shell completes the name for you, if no
other files are starting with the same three characters. Of course, if there are no
other items starting with "d", then you might just as wel type cd d and then Tab.
If more than one file starts with the same characters, the shell will signal this
to you, upon which you can hit Tab twice with short interval, and the shell
presents the choices you have: