NEW
Font size
WorksheetsChapter 3 Exploring Linux Filesystems
Total questions: 10
Worksheet time: 5mins
In the GNU Emacs editor, what key combination can be used to delete all characters between the cursor and the end of the line?
Ctrl+d
dd
Ctrl+a
Ctrl+k
Which of the following key combinations, commonly used in the vi editor command mode, displays current line statistics?
x
$
P
Ctrl+g
In vi, using command mode, what series of key presses below will cause the line on which the cursor is on to be deleted?
dd
X
d
yw
Linux uses a logical directory tree to organize files into different folders.
True
False
What metacharacter can be used to refer to the current user's home directory?
@
~
#
&
Which switch below can be added to the ls command to show a list of files and their type?
-L
-T
-l
-F
Select the command below that can be used to provide a long listing for each file in a directory:
ls -L
ls -T
ls -l
ls -F
What command can be used to display the last five lines of a text file?
head -5
end -5
tail -5
stop -5
At the vi command mode prompt, what key combination below will force a quit from the vi editor without saving changes?
:q!
:q
:!
:exit
When issuing the ls -F command, what special character indicates a linked file?
*
@
=
&
