» Linux » Examen sur Linux » Examen 201 : Advanced Administration » Section 5 » Question 3/23
3.You typed the following at the command line: ls -al /home/ hadden What key strokes would you enter to remove the space between the '/' and 'hadden' without having to retype the entire line?

Ctrl-B, Del
Esc-b, Del
Esc-Del, Del
Ctrl-b, Del

Explanation: The Esc-b keystroke combination will move the curser back one word (to the start of the word 'hadden'). The Del keystroke will delete the previous character; in this case, it will delete the space before the word 'hadden'.

Reference: http://sseti.udg.es/marga/books/O'Reilly-The_Linux_Web_Server-CDBookshelfv1.0/linux_web/lnut/ch07_06.htm

Incorrect Answers
A: The Ctrl-B keystroke will move the curser back one letter.
C: The Esc-Del keystroke will cut the previous word, for pasting later.
D: The Ctrl-b keystroke will move the curser back one letter. (Ctrl-b is the same as Ctrl-B).

« Question 2 Question 4 »