wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

28thOS

Total questions: 10

Worksheet time: 5mins

Name
Class
Date
1.

Which of the following commands allows for moving one

level up in Linux directory tree?

a)

cd -

b)

cd ..

c)

cd /

d)

cd .

2.

when creating soft link ,if the original file has been removed it won`t be useful any more ?

a)

True

b)

False

3.

what is the Linux command segment used to append data to the "s.txt" file ?

a)

echo "Hey Ubuntu "

b)

echo "Hey Ubuntu " > s.txt

c)

ls >> s.txt

d)

echo "Hello " > s.txt

4.

What is the name of a Linux command used for count the number of lines in a file ?

a)

wc a.txt

b)

count -l a.txt

c)

wc -l a.txt

d)

wc -w a.txt

5.

Which Command Shows Permissions in Files

a)

ls -l

b)

ls -a

c)

ls -h

d)

ls -r

6.

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

a)

^

b)

$

c)

~

d)

there is none

7.

What is the command to list hidden files & directory?

a)

ls -l

b)

ls -a

c)

ls

d)

None of these

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.

Which permission amongst the following allows only groups to read and execute the file and denies all user as well as others to read, write and execute ?

a)

rwxrwx---

b)

rw-r-x--x

c)

---r-x---

d)

r-x-w-rwx

10.

How to make a file executable the right way?

a)

chmod 777

b)

chmod a-x

c)

chmod +x

d)

chmod 400