Ctrl+B Character backward Go backward one character.
Alt+F Word forward Go forward one word.
Alt+B Word backward Go backward one word.
Ctrl+A Beginning of line Go to the beginning of the current line.
Ctrl+E End of line Go to the end of the line.
Ctrl+L Clear screen Clear the screen and leave line at the top of the screen.
The keystrokes in Table 2-2 can be used to edit command lines.
TABLE 2-2
Keystrokes for Editing Command Lines
Keystroke Full Name Meaning
Ctrl+D Delete current Delete the current character.
Backspace Delete previous Delete the previous character.
Ctrl+T Transpose character Switch positions of the current and previous characters.
Alt+T Transpose words Switch positions of the current and previous characters.
Alt+U Uppercase word Change the current word to uppercase.
Alt+L Lowercase word Change the current word to lowercase.
Alt+C Capitalize word Change the current word to an initial capital letter.
Ctrl+V Insert special character Add a special character. For example, to add a Tab character,
press Ctrl+V+Tab.
Use the keystrokes in Table 2-3 to cut and paste text on a command line.
50
Linux First Steps Part I
TABLE 2-3
Keystrokes for Cutting and Pasting Text in Command Lines
Keystroke Full Name Meaning
Ctrl+K Cut end of line Cut text to the end of the line.
Pages:
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192