Wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Section 1 – Linux Basics

Total questions: 20

Worksheet time: 10mins

Name
Class
Date
1.

Which component of Linux manages hardware and system resources such as CPU, memory, and devices?

a)

Shell

b)

Kernel

c)

Distribution

d)

Terminal

2.

Which statement best describes the Linux shell?

a)

A graphical desktop environment

b)

Provides an interface between the user and kernel through commands

c)

A package manager for installing software

d)

A process scheduler

3.

What is a Linux distribution?

a)

A single command for file management

b)

A collection of software including kernel, utilities, and tools

c)

A hardware configuration file

d)

A type of process control signal

4.

Which command displays the current working directory?

a)

ls

b)

cd

c)

pwd

d)

cat

5.

Which command changes the current directory?

a)

mv

b)

cd

c)

cp

d)

rm

6.

Which command lists files and folders in a directory?

a)

ls

b)

pwd

c)

clear

d)

date

7.

Which option with ls shows hidden files (names starting with a dot)?

a)

-l

b)

-a

c)

-r

d)

-h

8.

What does the mkdir command do?

a)

Creates a directory

b)

Removes a directory

c)

Moves a directory

d)

Displays a directory

9.

Which command removes empty directories?

a)

rm

b)

rmdir

c)

mv

d)

cp

10.

Which command removes files or directories?

a)

rm

b)

cp

c)

mv

d)

cat

11.

Which rm option deletes directories recursively along with their contents?

a)

-f

b)

-i

c)

-r

d)

-a

12.

Which command concatenates and displays the contents of text files?

a)

less

b)

cat

c)

cal

d)

date

13.

Which command allows scrolling through file content one screen at a time?

a)

cat

b)

less

c)

mv

d)

pwd

14.

Which command copies a file?

a)

cp

b)

mv

c)

rm

d)

rmdir

15.

Which command moves or renames files or directories?

a)

cp

b)

rm

c)

mv

d)

pwd

16.

Which command displays or sets the current date and time?

a)

date

b)

cal

c)

clear

d)

ls

17.

Which command shows a calendar for a month?

a)

date

b)

cal

c)

clear

d)

pwd

18.

Which command clears the terminal output?

a)

rm

b)

clear

c)

pwd

d)

cat

19.

Which key combination sends SIGINT to stop a running process?

a)

Ctrl + C

b)

Ctrl + Z

c)

Ctrl + D

d)

Ctrl + A

20.

Which key combination pauses (suspends) a process, placing it in the background?

a)

Ctrl + C

b)

Ctrl + Z

c)

Ctrl + D

d)

Ctrl + X