wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

Chapter 3 Exploring Linux Filesystems

Total questions: 10

Worksheet time: 5mins

Name
Class
Date
1.

In the GNU Emacs editor, what key combination can be used to delete all characters between the cursor and the end of the line?​

a)

​Ctrl+d

b)

dd

c)

Ctrl+a

d)

​Ctrl+k

2.

Which of the following key combinations, commonly used in the vi editor command mode, displays current line statistics?

a)

x

b)

$

c)

P

d)

Ctrl+g

3.

In vi, using command mode, what ​series of key presses below will cause the line on which the cursor is on to be deleted?

a)

dd

b)

X

c)

d

d)

yw

4.

Linux uses a logical directory tree to organize files into different folders.

a)

True

b)

False

5.

What metacharacter can be used to refer to the current user's home directory?

a)

@

b)

~

c)

#

d)

&

6.

Which switch below can be added to the ls command to show a list of files and their type?

a)

-L

b)

-T

c)

-l

d)

-F

7.

Select the command below that can be used to provide a long listing for each file in a directory:

a)

ls -L

b)

ls -T

c)

ls -l

d)

ls -F

8.

What command can be used to display the last five lines of a text file?

a)

head -5

b)

end -5

c)

tail -5

d)

stop -5

9.

At the vi command mode prompt, what key combination below will force a quit from the vi editor without saving changes?

a)

:q!

b)

:q

c)

:!

d)

:exit

10.

When issuing the ls -F command, what special character indicates a linked file?

a)

*

b)

@

c)

=

d)

&