wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

OS q7-8 LMS

Total questions: 37

Worksheet time: 20mins

Name
Class
Date
1.

1.    Hidden files are files that begin with what character?

a)

A plus (+)

b)

An asterisk (*)

c)

A period (.)

d)

A dash (-)

2.

1.    What option for the ls command will display all files, including hidden files?

a)

-a

b)

-H

c)

-w

d)

-L

3.

The top-level directory on a Linux system is represented as:

a)

/

b)

/root

c)

/home

d)

C:

4.

1.    Is the following path absolute or relative?

/etc/ppp

a)

Absolute

b)

Relative

5.

1.    Is the following path absolute or relative?

sysadmin/Documents

a)

Absolute

b)

Relative

6.

1.    Is the following path absolute or relative?

../../home/sysadmin

a)

Absolute

b)

Relative

7.

The tilde (~) is used to represent

a)

a.     A user’s home directory

b)

a.     Any two single characters

c)

a.     A user’s home directory

d)

a.     Nothing; it has no special meaning

8.

Which of the following commands can be used to access the home directory of the user “bob” while logged in as root? (choose two

a)

a.     cd &&

b)

a.     cd ~bob

c)

a.     cd /home/bob

d)

a.     ~bob

9.

1.    The double dot (..) can be used with the cd command to represent:

a)

a.     The directory above the current working directory

b)

a.     A user’s home directory.

c)

a.     Nothing; it has no special meaning.

d)

a.     Any two single characters

10.

1.    The cd command by itself will take you to what directory?

a)

a.     The directory above the current working directory

b)

a.     The system root directory

c)

a.     Your home directory

d)

a.     None; it is not a valid command

11.

1.    What command will allow you to change your current working directory?

a)

ls

b)

list

c)

cd

d)

chdir

12.

1.    The double dot (..) can be used to represent the directory…

a)

…above the current directory

b)

with any two single numbers

c)

below the current directory.

d)

above the current directory only when using the cd command.

13.

1.    The ls command without options or arguments…

a)

a.     …generates an error as this command requires arguments.

b)

…prompts for a directory to list

c)

lists the contents of a user’s home directory

d)

…lists the contents of the current directory

14.

1.    The first character in a long listing (ls -l) indicates:

a)

if something is a file, directory, or symbolic link

b)

The owner

c)

The size

d)

The permission

15.

1.    Which option for the ls command, when used in conjunction with the -l option, will display human-readable file sizes?

a)

-M

b)

-h

c)

-H

d)

-S

16.

1.    The ls command color codes results by default.

True or False?

a)

True

b)

False

17.

1.    The command ls -S will sort files:

a)

a.     By size, largest to smallest

b)

a.     By size, smallest to largest

c)

a.     By number of symlinks, largest to smallest

d)

a.     By modification date, newest to oldest

18.

1.    When using the cp command, you must provide both a source and a destination.

a)

True

b)

False

19.

1.    Which option(s) can be used to prevent cp from overwriting an existing file?

(choose two)

a)

-i

b)

-z

c)

-n

d)

-N

20.

1.    The command rm -r will…

a)

·        generate an error; -r isn’t a valid option.

b)

remove a directory along with any files or subdirectories.

c)

remove a directory along with any files or subdirectories.

d)

·        remove only empty directories.

21.

1.    Which option can be used with the rm command to prompt before deleting?

a)

-P

b)

I

c)

-i

d)

A

22.

1.    The rm command can delete multiple files at once.

True or False?

a)

True

b)

False

23.

1.    Which of the following commands can be used to rename a file?

a)

name

b)

rm

c)

mv

d)

cp

24.

1.    The touch command can be used to:

(choose two)

a)

  Create new files

  

  

b)

Change a file’s name

c)

o   Change ownership of a file

d)

Update the timestamp of existing files

25.

1.    Which of the following are glob characters?

(choose three)

a)

o   The square brackets [ and ]

b)

o   The asterisk *

c)

o   The question mark ?

d)

o   The dash character -

26.

1.    The main purpose of using glob characters is to be able to provide a list of filenames to a command.

a)

True

b)

False

27.

The asterisk character is used to represent zero or more of any character in a filename

a)

True

b)

False

28.

1.    Which of these commands will return /etc/gai.conf /etc/pam.conf /etc/ucf.conf?

(choose two)

a)

o   ls /etc/p???.**

o  

o  

o  

b)

echo /etc/???.*f

c)

ls /etc/???.????

d)

echo /etc/*?.*o?

29.

Brackets cannot be used to a represent a range of characters

a)

True

b)

False

30.

1.    Which command would list files that do not begin with a T or a W?

a)

o   echo /etc/[*TW]!

b)

o   echo /etc/!TW

c)

o   echo /etc/*[TW!]

d)

o   echo /etc/[!TW]*

31.

Кума , тебе кофе с коньяком ?

a)

Без

b)

Без коньяка

c)

Без кофе

32.

В каком году родился всеми известный президент Эщкерии ?

a)

1208

b)

1161

c)

1661

d)

1488?

33.

Любимое животное Эщкеристанцев ?

a)

Кошки любимцы всех людей)

b)

Собаки определенно

c)

Медный бычочек

d)

Коровы являются священными животными

34.

Когда медный бык разогревается до 1489 или выше градусов, что следует сделать ?

a)

Достать мученика , он теперь прожарки Well done

b)

Хуй знает , я сын фермера что ли :\ !?

c)

Ахахахахахахаха-вхахахахаха

d)

Включить вентиляторы

35.

После Великого Поста у христиан идет праздник

a)

Рождество

b)

Пасха (лко)

c)

Крестовый поход на Иерусалим

d)

Масленица

36.

Эщкере ?

a)

ЭЭщкере

b)

эщкере

c)

ЭЭЭЭШКЕЕРЕ

d)

Нахуй я начал проходить этот дерьмовый квиз:(

37.

Откуда был взят оригинал гимна (смеха) Эщкерии ?

a)

Из телепередачи Шоу талантов в Китае

b)

Этот чудесный смех был дарован Трэвисом Скотом

c)

Это его оригинальный смех короля Эщкерии который он решил даровать своему народу в виде гимна

d)

По телику услышали вот от туда и спиздели