Wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Linux Test Prep 1

Total questions: 25

Worksheet time: 13mins

Name
Class
Date
1.

What command outputs the content of a file?

a)

c

b)

tac

c)

cd

d)

line

2.

What command changes directory?

(a)  

3.

What command changes file mode?

a)

change

b)

chmod

c)

mod

d)

cmod

4.

What command changes ownership?

a)

own

b)

chown

c)

ChOWN

d)

change

5.

What command will copy?

a)

cp

b)

copy

c)

Copy

d)

CPP

6.

With the command for copy, what option will force or will overwrite any existing files with the same name?

a)

copy - f

b)

copy- chage

c)

copy - k

d)

copy - r

7.

With the command for copy, what option is recursive?

a)

- r

b)

- P

c)

- R

d)

- CR

8.

What command will manipulate data by columns?

a)

man

b)

column

c)

cut

d)

cutt

9.

what command will look up IP addresses and DNS names?

a)

stop

b)

IP

c)

dig

d)

dnsdig

10.

What command shows environmental variables for current users?

a)

env

b)

Euser

c)

environ

d)

Environment

11.

What command terminates all current processes, including shell?

a)

exit

b)

stop

c)

term

d)

terminate

12.

What command locates files in system?

(a)  

13.

This command is used to find out information regarding a user.

a)

user

b)

whouser

c)

finger

d)

whoareyou

14.

This command reports on system memory.

a)

free

b)

system

c)

mem

d)

sysmem

15.

This command will search for a string.

a)

grep

b)

string

c)

search

d)

SS

16.

What command will add a group?

a)

groupadd

b)

addgroup

c)

group

d)

newgroup

17.

Under add group command, what option will create a system group?

a)

- r

b)

- p

c)

- g

18.

With the add group command what option will give a password?

a)

- p

b)

- pass

c)

- pwd

19.

What command modified a group?

a)

groupmod

b)

modify

c)

mod

d)

modgroup

20.

What command outputs the first ten lines of a file?

a)

ten

b)

line

c)

head

d)

start

21.

What command shuts down operating system?

a)

halt

b)

opsys

c)

stop

d)

shut

22.

What command outputs user and group IDs for a user?

a)

id

b)

identify

c)

user

d)

who

23.

Under the id command, what option will show only UID

a)

- u

b)

- show

c)

- UID

d)

- ID

24.

Using the id command, what option will show all groups to which a user belongs?

a)

- G

b)

-g

c)

-show

d)

- group

25.

What is the command for returns all documentation containing the defined command?

a)

apropos

b)

cat

c)

aprosp

d)

apopros