wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

REDHAT ACADEMY

Total questions: 15

Worksheet time: 8mins

Name
Class
Date
1.

How to change the shell for user.?

a)

Usermod -s

b)

User -k

c)

Usermod -S

d)

None of these

2.

Which is the file consist group information.?

a)

/etc/group

b)

/etc/shadow

c)

/etc/gshadow

d)

/etc/groupinfo

3.

Which command is used for adding a new user.?

a)

Add user

b)

Useradd

c)

Usermod

d)

Userplus

4.

Which command is used for delete all credential of user.?

a)

Userdel user1

b)

Userdel -r user1

c)

Userdel -all user1

d)

None of these

5.

Which command is used to change the password of user.?

a)

Password

b)

Passwd

c)

Paswd

d)

Pass

6.

How can you create maximum Primary partition ?

a)

6

b)

5

c)

4

d)

3

7.

What is the use of chmod command.?

a)

To set permission

b)

To create link

c)

To check contents of Directory

d)

None of these

8.

How to see parent Structure of Directory.?

a)

Ls

b)

Ls -r

c)

Ls -R

d)

Ls -p

9.

How to add user1 in to the  sysadmin group.?

a)

Groupadd user1 sysadmin

b)

Gpasswd -a sysadmin user1

c)

Gadd user1 sysadmin

d)

Gpasswd -a user1 sysadmin

10.

How to append data in to the file.?

a)

Cat>>file

b)

Cat>file

c)

Cat

d)

None of these

11.

How to add these user in to the sysadmin group.?user1 , user2 , user3

a)

Gpasswd -a user1 user2 user3

b)

Gpasswd -m user1 user2 user3

c)

Gpasswd -M user1 user2 user3

d)

Gpasswd -all user1 user2 user3

12.

Which command is used to check the content of directory.?

a)

Ls

b)

List

c)

Lsdir

d)

Li

13.

What will happen if we run this command.?#touch file{1..10}

a)

It create file with name file{1..10}

b)

It create 10 files

c)

Error

d)

None of these

14.

How to Lock the user.?

a)

Usermod -l user

b)

Userlo user

c)

Usermod -L user

d)

Usermod -a user

15.

MBR stands for .?

a)

Master Boot Record

b)

Master Bit Record

c)

Map Bit Record

d)

Map Boot Record