wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

Terminal Basics

Total questions: 11

Worksheet time: 6mins

Name
Class
Date
1.

What command is used to learn how to use a command?

a)

readme

b)

help

c)

?

d)

man

2.

What command is used to list a directory's content?

a)

dir

b)

ls

c)

show

d)

cd

3.

What command is used to move around the filesystem within the terminal?

a)

md

b)

cd

c)

rm

d)

ls

4.

What command will output a files contents to the terminal?

a)

dog

b)

cat

c)

squirrel

d)

frog

5.

What button can be pressed to automatically fill commands, directories, or file names after typing the first few characters?

a)

enter

b)

right arrow

c)

tab

d)

control

6.

Other than typing exit, how can you exit the current shell or terminal window?

a)

Ctrl - L

b)

Ctrl - E

c)

Ctrl - D

d)

Alt - F4

7.

What is the name of the character that can be used to send the output of one command as the input for another?

a)

pipe

b)

tilde

c)

pound

d)

bang

8.

If you want to execute one program and, if that completes successfully, launch another what character/s would you add between the commands?

a)

|

b)

;

c)

||

d)

&&

9.

If you forget to elevate privileges when you run a command and get an error, what is the easiest method to launch that command again with elevation?

a)

*69

b)

su %

c)

sudo !!

d)

Ctrl - s

10.

What key combination can be used to get back to the beginning of a line in the terminal?

a)

Ctrl - N

b)

Ctrl - K

c)

Ctrl - A

d)

Ctrl - U

11.

What is the best Linux text editor?

a)

vim

b)

nano

c)

emacs

d)

other