wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

Linux Quiz

Total questions: 20

Worksheet time: 7mins

Name
Class
Date
1.

Who created Linux and in which year was it first released?

a)

Richard Stallman, 1989

b)

Linus Torvalds, 1991

c)

Bill Gates, 1995

d)

Dennis Ritchie, 1972

2.

What does it mean that Linux is “open-sourceˮ?

a)

Only companies can modify it

b)

Anyone can view, modify, and distribute its code

c)

Only Linus Torvalds can change it

d)

It is free to install but closed for modification

3.

Which Linux component acts as the “coreˮ between hardware and software?

a)

Shell

b)

Terminal

c)

Kernel

d)

BIOS

4.

In Linux, which type of user has full system control?

a)

Regular User

b)

System User

c)

Root User

d)

Guest User

5.

Which command shows hidden files in a directory?

a)

ls

b)

ls -l

c)

ls -a

d)

cat

6.

Which Linux distribution is known for cybersecurity and penetration testing?

a)

Fedora

b)

Ubuntu

c)

Kali Linux

d)

Debian

7.

What is the main purpose of the Linux shell?

a)

To manage hardware directly

b)

To provide a command-line interface to interact with the OS

c)

To display graphical menus

d)

To install applications

8.

In Linux, what does cat /etc/passwd display?

a)

Running processes

b)

Disk usage

c)

All user accounts on the system

d)

Hidden files

9.

Which command lists files with detailed information (permissions, size, date)?

a)

ls -a

b)

ls -l

c)

pwd

d)

cd

10.

Which command changes the current directory?

a)

ls

b)

pwd

c)

cd

d)

mv

11.

What does the jobs command do in Linux?

a)

Lists all users

b)

Lists files in a directory

c)

Displays background and stopped processes

d)

Shows memory usage

12.

In process management, what does pressing Ctrl+Z do?

a)

Terminates the process

b)

Runs it in the foreground

c)

Stops it and sends it to the background

d)

Restarts the process

13.

Which command shows a real-time view of CPU and memory usage, similar to Task Manager?

a)

ps aux

b)

top

c)

df -h

d)

pstree

14.

Which command kills all processes with a specific name?

a)

kill PID

b)

killall

c)

renice

d)

stop

15.

What does df -h display?

a)

RAM usage in human-readable form

b)

Disk space usage in human-readable form

c)

CPU usage in human-readable form

d)

Directory permissions

16.

In ps aux, what does the option x do?

a)

Shows processes in tree format

b)

Includes processes without a controlling terminal

c)

Exits the command after execution

d)

Kills a process

17.

Which command is used to view processes in a hierarchical (tree) structure?

a)

ps aux

b)

pstree

c)

top

d)

jobs

18.

What is the range of priority values used by the nice command?

a)

−10 to 10

b)

0 to 100

c)

−20 (highest) to 19 (lowest)

d)

1 to 255

19.

What does du -sh /var/log display?

a)

List of log files

b)

Total size of the /var/log directory in human-readable format

c)

Disk free space of /var/log

d)

RAM usage for logging services

20.

In vmstat, which two columns indicate swapping between RAM and disk?

a)

si and so

b)

si (swap-in) and so (swap-out)

c)

in and out

d)

swp and mem