NEW
Font size
WorksheetsLinux
Total questions: 22
Worksheet time: 11mins
1️⃣ What is Linux?
A) A web browser
B) An open-source operating system
C) A programming language
D) A type of database
2️⃣ Which of these does Linux manage, just like Windows or macOS?
A) Social media accounts
B) Memory, files, and connected devices
C) Only web pages
D) Email spam filters
3️⃣ What is Linux especially known for?
A) Being unstable and closed-source
B) Being stable, secure, and customizable
C) Running only on smartphones
D) Using a lot of memory
4️⃣ Where is Linux commonly used?
A) Only in gaming consoles
B) In servers, Android devices, supercomputers, and smart TVs
C) In washing machines only
D) As a replacement for USB drives
5️⃣ What does it mean that Linux is open source?
A) It can only be modified by the original company
B) It is a paid software
C) Anyone can view, modify, and share its code
D) It does not allow changes to the code
6️⃣ What are popular versions (distributions) of Linux called?
A) Packages
B) Bundles
C) Distributions (or distros)
D) Modules
7️⃣ Which of these is NOT a popular Linux distribution?
A) Ubuntu
B) Debian
C) Fedora
D) Windows
8️⃣ What does this command do?
cp myfile.txt backup.txt
A) Deletes the file myfile.txt
B) Copies myfile.txt to backup.txt
C) Moves myfile.txt to another folder
D) Changes the directory
9️⃣ Which command is used to move or rename a file in Linux?
A) rm
B) mv
C) cd
D) mkdir
1️⃣0️⃣ What does the command rm myfile.txt do?
A) Reads the file
B) Moves the file
C) Deletes the file
D) Creates a new file
1️⃣1️⃣ Which command changes the current directory?
A) cd
B) cp
C) mkdir
D) rm
1️⃣2️⃣ Which command creates a new folder?
A) rm
B) mkdir
C) mv
D) touch
1️⃣3️⃣ What does the command touch myfile.txt do?
A) Deletes a file
B) Moves a file
C) Creates a new empty file named myfile.txt
D) Copies a file
1️⃣ What does this command do?
find /var/log -name "*.log"
A) Finds all files named *.log in /var/log exactly
B) Lists all .log files under /var/log and its subdirectories
C) Deletes all .log files in /var/log
D) Prints the content of .log files
2️⃣ What does this command do?
find /home -type d -name "backup"
A) Finds files named backup in /home
B) Finds directories named backup in /home
C) Creates a directory called backup in /home
D) Deletes the backup directory
3️⃣ What does -type f mean in a find command?
A) Look for folders
B) Look for files
C) Look for symlinks
D) Look for processes
4️⃣ What does this command find?
find /etc -type f -mtime 0
A) Files modified today in /etc
B) Files modified exactly 1 day ago in /etc
C) Files accessed today in /etc
D) Files created today in /etc
5️⃣ What does -atime -3 look for?
A) Files accessed less than 3 days ago
B) Files modified 3 days ago
C) Files that are exactly 3 KB in size
D) Files created 3 hours ago
6️⃣ What does this command do?
find /var/www -type f -empty
A) Finds empty directories under /var/www
B) Finds empty files under /var/www
C) Deletes empty files in /var/www
D) Moves empty files to /var/www
7️⃣ What does find / -type f -perm 0777 do?
A) Finds files with permissions 777 anywhere on the system
B) Changes permissions of files to 777
C) Finds directories with 777 permissions
D) Deletes files with 777 permissions
8️⃣ What does this command find?
find /home -type f -size +10M
A) Files smaller than 10 MB under /home
B) Files larger than 10 MB under /home
C) Directories larger than 10 MB under /home
D) Empty files under /home
9️⃣ What does -size -1k mean?
A) Files smaller than 1 KB
B) Files exactly 1 KB
C) Files larger than 1 KB
D) Files modified 1 minute ago
