wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

Linux

Total questions: 22

Worksheet time: 11mins

Name
Class
Date
1.

1️⃣ What is Linux?

a)

A) A web browser

b)

B) An open-source operating system

c)

C) A programming language

d)

D) A type of database

2.

2️⃣ Which of these does Linux manage, just like Windows or macOS?

a)

A) Social media accounts

b)

B) Memory, files, and connected devices

c)

C) Only web pages

d)

D) Email spam filters

3.

3️⃣ What is Linux especially known for?

a)

A) Being unstable and closed-source

b)

B) Being stable, secure, and customizable

c)

C) Running only on smartphones

d)

D) Using a lot of memory

4.

4️⃣ Where is Linux commonly used?

a)

A) Only in gaming consoles

b)

B) In servers, Android devices, supercomputers, and smart TVs

c)

C) In washing machines only

d)

D) As a replacement for USB drives

5.

5️⃣ What does it mean that Linux is open source?

a)

A) It can only be modified by the original company

b)

B) It is a paid software

c)

C) Anyone can view, modify, and share its code

d)

D) It does not allow changes to the code

6.

6️⃣ What are popular versions (distributions) of Linux called?

a)

A) Packages

b)

B) Bundles

c)

C) Distributions (or distros)

d)

D) Modules

7.

7️⃣ Which of these is NOT a popular Linux distribution?

a)

A) Ubuntu

b)

B) Debian

c)

C) Fedora

d)

D) Windows

8.

8️⃣ What does this command do?

cp myfile.txt backup.txt

a)

A) Deletes the file myfile.txt

b)

B) Copies myfile.txt to backup.txt

c)

C) Moves myfile.txt to another folder

d)

D) Changes the directory

9.

9️⃣ Which command is used to move or rename a file in Linux?

a)

A) rm

b)

B) mv

c)

C) cd

d)

D) mkdir

10.

1️⃣0️⃣ What does the command rm myfile.txt do?

a)

A) Reads the file

b)

B) Moves the file

c)

C) Deletes the file

d)

D) Creates a new file

11.

1️⃣1️⃣ Which command changes the current directory?

a)

A) cd

b)

B) cp

c)

C) mkdir

d)

D) rm

12.

1️⃣2️⃣ Which command creates a new folder?

a)

A) rm

b)

B) mkdir

c)

C) mv

d)

D) touch

13.

1️⃣3️⃣ What does the command touch myfile.txt do?

a)

A) Deletes a file

b)

B) Moves a file

c)

C) Creates a new empty file named myfile.txt

d)

D) Copies a file

14.

1️⃣ What does this command do?

find /var/log -name "*.log"

a)

A) Finds all files named *.log in /var/log exactly

b)

B) Lists all .log files under /var/log and its subdirectories

c)

C) Deletes all .log files in /var/log

d)

D) Prints the content of .log files

15.

2️⃣ What does this command do?

find /home -type d -name "backup"

a)

A) Finds files named backup in /home

b)

B) Finds directories named backup in /home

c)

C) Creates a directory called backup in /home

d)

D) Deletes the backup directory

16.

3️⃣ What does -type f mean in a find command?

a)

A) Look for folders

b)

B) Look for files

c)

C) Look for symlinks

d)

D) Look for processes

17.

4️⃣ What does this command find?

find /etc -type f -mtime 0

a)

A) Files modified today in /etc

b)

B) Files modified exactly 1 day ago in /etc

c)

C) Files accessed today in /etc

d)

D) Files created today in /etc

18.

5️⃣ What does -atime -3 look for?

a)

A) Files accessed less than 3 days ago

b)

B) Files modified 3 days ago

c)

C) Files that are exactly 3 KB in size

d)

D) Files created 3 hours ago

19.

6️⃣ What does this command do?

find /var/www -type f -empty

a)

A) Finds empty directories under /var/www

b)

B) Finds empty files under /var/www

c)

C) Deletes empty files in /var/www

d)

D) Moves empty files to /var/www

20.

7️⃣ What does find / -type f -perm 0777 do?

a)

A) Finds files with permissions 777 anywhere on the system

b)

B) Changes permissions of files to 777

c)

C) Finds directories with 777 permissions

d)

D) Deletes files with 777 permissions

21.

8️⃣ What does this command find?

find /home -type f -size +10M

a)

A) Files smaller than 10 MB under /home

b)

B) Files larger than 10 MB under /home

c)

C) Directories larger than 10 MB under /home

d)

D) Empty files under /home

22.

9️⃣ What does -size -1k mean?

a)

A) Files smaller than 1 KB

b)

B) Files exactly 1 KB

c)

C) Files larger than 1 KB

d)

D) Files modified 1 minute ago