wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

Linux fundamental - Day2

Total questions: 10

Worksheet time: 5mins

Name
Class
Date
1.

Who can change the password of any user?

a)

Everyone

b)

Super user

c)

Supervisor

d)

End-User

2.

All configuration files are stored under which directory

a)

/home/etc

b)

/etc

c)

/bin

d)

/

3.

Which of the following command is file editor command ?

a)

cat

b)

vi

c)

echo

d)

grep

4.

which of the following command is used to change the file permission?  

a)

usermod

b)

umask

c)

chage

d)

chmod

5.

Which of the following is used to append the contents of a file?

a)

=

b)

>>

c)

<

d)

>

6.

Which command displays the contents of a file?

a)

cat

b)

pipe

c)

ls

d)

tee

7.

Which of the command is used to change the password?

a)

password

b)

passwd

c)

changepasswd

d)

gpasswd

8.

User passwords are stored in which file?

a)

/etc/password

b)

/root/password

c)

/etc/passwd

d)

/etc/shadow

9.

How do you delete user along with home directory?

a)

userdel

b)

userdel -r

c)

deleteuser

d)

userdel -d

10.

if normal user wants to run super users command he must be added in the which of the following file?

a)

/etc/login.defs

b)

/etc/sudoers

c)

/etc/passwd

d)

/etc/group