December 2018
Beginner
452 pages
12h 17m
English
The next class of shortcuts we want to discuss is keyboard shortcuts. In contrast to the previous commands and shell keywords, these are simply key combinations that modify things on the command line. The combinations we're discussing all work by using the CTRL key as a modifier: you hold down CTRL and press another key, for example the t. We'll describe this as CTRL+t, as we have done in the rest of the book as well. Speaking of CTRL+t, this is actually the first shortcut we'd like to address! You can use CTRL+t when you've made a typo:
reader@ubuntu:~$ head /etc/passdw# Last two letters are swapped, press CTRL+t to swap them:reader@ubuntu:~$ head /etc/passwd
Because the terminal is modified, it is kind of hard to get ...