wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

linux

Total questions: 64

Worksheet time: 36mins

Name
Class
Date
1.

chmod

a)

change file mode

b)

change directory

c)

change ownership

d)

outputs the contents of a file

2.

cat

a)

reports on system memory

b)

locate file in a system

c)

outputs the contents of a file

d)

shuts down OS

3.

gzip

a)

compresses files

b)

outputs the contents of a file

c)

link files

d)

removes files

4.

change directory

a)

cd

b)

changed

c)

cdirectory

d)

cp

5.

list all files including hidden files

a)

ls -h

b)

ls -a

c)

ls -d

d)

ls

6.

remove directory

a)

rmdir

b)

rm

c)

remove

7.

reports on system memory

a)

cat

b)

ping

c)

free

d)

info

8.

present working directory

a)

pd

b)

pwd

c)

ps

d)

prd

9.

list contents of a directory, list files, including details such as owner and permissions

a)

ls -d

b)

ls -l

c)

ls -a

d)

ls

10.

tests connectivity of remote network device

a)

free

b)

ping

c)

test

d)

grep

11.

copies recursively, will copy files under directories

a)

cp -R

b)

cp -r

12.

change or set password

a)

pwd

b)

passwd

c)

password

13.

link files, create a symbolic lik

a)

ln -s

b)

link -S

c)

ln -S

d)

ls -s

14.

list contents of a directory

a)

ls -d

b)

ls

c)

ls -a

d)

ls -l

15.

name of administartor

a)

admin

b)

root

16.

archives files, create file

a)

tar -xzf

b)

tar -cf

c)

tar -xf

d)

tar -czf

17.

archive file, extracts zipped file

a)

tar -xzf

b)

tar -cf

c)

tar -czf

d)

tar -xf

18.

shows list of current applications and processes

a)

free

b)

ping

c)

top

d)

last

19.

shows NIC for network card; configures network settings

a)

ipconfig

b)

DNS

c)

ifconfig

d)

DHCP

20.

run command as root

a)

sudo

b)

root

c)

admin

d)

tar

21.

adds new user

a)

adduser

b)

useradd

22.

begins a loop

a)

for

b)

if

c)

while

d)

then

23.

character used to split a command

a)

/

b)

|

c)

\

24.

closest free version to red hat

a)

Fedora

b)

RPM

c)

Centos

d)

IBM

25.

will return one character

a)

|

b)

?

c)

!

d)

*

26.

will return a string of characters

a)

?

b)

#

c)

*

d)

!

27.

acts like a shortcut and points to a file

a)

soft link

b)

hard link

28.

starts a shell script

a)

#!

b)

!#

29.

outputs

a)

path

b)

free

c)

echo

d)

grep

30.

can be used to exit

a)

x

b)

q

c)

e

d)

k

31.

stores the UID and basic user info but not user passwords

a)

/etc/passwd

b)

/etc/shadow

c)

/etc/hosts

32.

prints the message buffer of the kernel

a)

top

b)

dhcp

c)

dmesg

d)

print

33.

list directories, not contents or subdirectories

a)

ls -a

b)

ls -d

c)

ls

d)

ls -l

34.

the kernel identifies each process using this command

a)

process ID

b)

path

c)

user ID

d)

ID tag

35.

domain names to be translated into IP addresses

a)

DNS

b)

IP adressing

c)

DHCP

d)

RPM

36.

environmental variables that tells the shell which directories to search for executable files

a)

env

b)

path

c)

grep

d)

touch

37.

responsible for assigning an IP address to the host

a)

DNS

b)

process ID

c)

DHCP

d)

kernel

38.

What does RPM stand for?

(a)  

39.

What command creates a directory?

(a)  

40.

What command is used to move or rename files?

(a)  

41.

ps

a)

process status

b)

password status

c)

process

d)

password

42.

lists contents of directory with recursion, including all subdirectories

a)

ls -r

b)

ls -R

43.

Displays man pages

(a)  

44.

substitute user, runs as another user

(a)  

45.

created empty file

a)

cat

b)

man

c)

touch

d)

grep

46.

search for a string

a)

ping

b)

grep

c)

free

d)

info

47.

grep -i

a)

search for a string, case sensitive

b)

search for a string, not case sensitive

48.

outputs the first ten lines of a file

a)

head

b)

top

c)

tail

d)

last

49.

add a group

a)

groupadd

b)

addgroup

50.

improved man pages

(a)  

51.

copy

(a)  

52.

chown

(a)  

53.

opens files in a vim-like environment for viewing

a)

grep

b)

dmesg

c)

less

d)

touch

54.

view routing tables

a)

last

b)

route

c)

sudo

d)

who

55.

shows last command used by defined user

a)

tail

b)

last

c)

head

d)

top

56.

sorts text in file in a particular order

a)

route

b)

sort

c)

tar

d)

order

57.

remove

(a)  

58.

displays who is logged in

(a)  

59.

archives files

(a)  

60.

outputs the last ten lines of a file

a)

head

b)

top

c)

tail

d)

last

61.

adds new user, sets home directory

(a)  

62.

finds IP addresses of a domain name. (domain name to IP address)

a)

kernel

b)

host

c)

root

d)

sudo

63.

heart of the OS, contains source code

a)

host

b)

kernel

c)

root

d)

sudo

64.

hashes passwords are stored here

a)

/etc/password

b)

/etc/shadow