wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

Standard Linux Commands

Total questions: 20

Worksheet time: 4mins

Name
Class
Date
1.

What is the core of a Linux Operating System?

a)

Kernel

b)

Shell

c)

Command

d)

GUI

2.

"CLI" stands for?

a)

Control Line Interface

b)

Command Line Interface

c)

Continue Line Interface

d)

Commands Line Interface

3.

Open source means you can

a)

The product is usually free and can be modified

b)

The product cost and you cannot change the software

c)

Only by get the software online

4.

What is the topmost level directory ( / ) on Linux called?

a)

home

b)

trunk

c)

root

d)

foot

5.

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

a)

pwd

b)

ls

c)

cat

d)

ps

6.

A Linux command displaying an absolute path to (i.e. full

filename of) the current working directory is called:

a)

mv

b)

pwd

c)

rm

d)

dir

7.

What is the name of a Linux command used for renaming files and directories?

a)

rm

b)

ps

c)

mv

d)

ls

8.

Which of the Linux command-line commands listed below

is used for directory creation?

a)

touch

b)

cd

c)

mkdir

d)

create

9.

Which of the following commands allows for moving one

level up in Linux directory tree?

a)

cd -

b)

cd ..

c)

cd /

d)

cd .

10.

This command reports the full path to the current directory.

a)

cd

b)

ls

c)

pwd

d)

mkdir

11.

This command is a Linux shell command to copy files and directories.

a)

cd

b)

cpy

c)

cp

d)

ls

12.

A Linux command used for transferring files/directories to a different directory is called:

a)

replace

b)

export

c)

move

d)

mv

13.

What is the function of the Linux chmod command?

a)

Changes file access permissions

b)

Changes file owner and group permissions

c)

Compares the contents of two files or sets of files

d)

Changes the Linux command prompt

14.

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

a)

Ctrl + C

b)

Ctrl + A

c)

Ctrl + E

d)

Ctrl + L

15.

A Linux distribution is a collection of; usually open source, software on top of a Linux kernel

a)

True

b)

False

16.

Which Command Shows Permissions in Files

a)

ls -l

b)

ls -a

c)

ls -h

d)

ls -r

17.

What is the name for the full path to a directory or file?

a)

Recursive Path

b)

Relative Path

c)

Absolved Path

d)

Absolute Path

18.

What single character can be used to refer to the active user's home directory?

a)

^

b)

$

c)

~

d)

there is none

19.

What command can be used to take you to the active users home directory?

a)

cd

b)

cd -h

c)

cd $user

d)

chd

20.

If I am in the /home/tator directory and run the command cp Desktop/file1.txt Desktop/file2.txt I am using what type of path for the files?

a)

Parent

b)

Absolute

c)

Relative

d)

Cousin