Wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Linux Basic Commands Quiz

Total questions: 11

Worksheet time: 6mins

Name
Class
Date
1.

What command clears the contents of your terminal display?

a)

clear

b)

cache

c)

delete

d)

remove

2.

Which of the Linux command-line commands listed below is used for directory traversal/navigation?

a)

change

b)

cd

c)

cdc

d)

ps

3.

What command creates an empty directory?

a)

Ipp

b)

Cd chown

c)

mkdir

d)

None of these

4.

What command to check/see current working directory?

a)

who

b)

pwd

c)

where

d)

catch

5.

Which of the following commands in Linux is used to display information about files and directories contained within the current working directory?

a)

ls

b)

sl

c)

show

d)

None of these

6.

What is the command to list hidden files & directory?

a)

ls -l

b)

ls -a

c)

ls

d)

None of these

7.

What is the command to delete a file/directory?

a)

rk

b)

rm

c)

rc

d)

di

8.

Which of the following commands allows for moving one level up in Linux directory tree?

a)

cd -

b)

cd /

c)

cd --

d)

cd ~

9.

What is the name of a Linux command-line utility used for reporting statistics on running processes?

a)

nbtstat

b)

tasklist

c)

ps

d)

id

10.

Which of the answers listed below refers to a command used for invoking a text editor in Unix-like operating systems?

a)

vi

b)

edit

c)

notepad

d)

none of these

11.

Which of the following key combinations allows to terminate the current process in Linux shell?

a)

Ctrl + A

b)

Ctrl + C

c)

Ctrl + L

d)

Ctrl + E