wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

Linux Directory Structures

Total questions: 20

Worksheet time: 10mins

Name
Class
Date
1.

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

2.

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

a)

home

b)

trunk

c)

root

d)

foot

3.

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

a)

^

b)

$

c)

~

d)

there is none

4.

What command is used to move between directories at the Linux terminal or console?

a)

mv

b)

cd

c)

pwd

d)

rd

5.

What makes a file or folder hidden on Linux?

a)

the -h attribute

b)

having a period ( . ) at the beginning of its name

c)

the "hidden" command

d)

no files or folders can be hidden on Linux

6.

What command can be used to show the absolute path to the directory that you are currently in?

a)

pcd

b)

ppd

c)

pud

d)

pwd

7.

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

a)

cd

b)

cd -h

c)

cd $user

d)

chd

8.

What command can be used to change back to the previous working directory?

a)

cd -

b)

cd --ppd

c)

cd $prev

d)

cd -hal

9.

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

10.

What command can be used to move to the parent of the current directory?

a)

cd .

b)

cd ..

c)

cd ...

d)

upone

11.

What directory contains files related to booting the system.

a)

/boot

b)

/dev

c)

/proc

d)

/sys

12.

What directory contains mostly plaintext configuration files for the system?

a)

/tmp

b)

/var

c)

/dev

d)

/etc

13.

What directory contains system binaries meant for administrators?

a)

/bin

b)

/var/run

c)

/dev/null

d)

/usr/sbin

14.

Where do removable automount devices get mounted?

a)

/mnt

b)

/boot

c)

/home

d)

/media

15.

What temporary directory is purged every 30 days?

a)

/tmp

b)

/root/tmp

c)

/usr/tmp

d)

/var/tmp

16.

What directory contains things like logs and databases and is, therefore, often put on its own drive or partition?

a)

/proc

b)

/tmp

c)

/var

d)

/usr

17.

What directory is the kernel stored in?

a)

/var/kern

b)

/etc/linux

c)

/dev

d)

/boot

18.

Where is a standard user's home directory located?

a)

/home/user_name

b)

/user_name

c)

/var/user_name

d)

/Users/user_name

19.

Where is the super user's home directory located?

a)

/

b)

/root

c)

/home/root

d)

/etc/root

20.

Which directory contains installed software programs and libraries?

a)

/dev

b)

/soft

c)

/usr

d)

/etc