WorksheetsSection 1 – Linux Basics
Total questions: 20
Worksheet time: 10mins
Which component of Linux manages hardware and system resources such as CPU, memory, and devices?
Shell
Kernel
Distribution
Terminal
Which statement best describes the Linux shell?
A graphical desktop environment
Provides an interface between the user and kernel through commands
A package manager for installing software
A process scheduler
What is a Linux distribution?
A single command for file management
A collection of software including kernel, utilities, and tools
A hardware configuration file
A type of process control signal
Which command displays the current working directory?
ls
cd
pwd
cat
Which command changes the current directory?
mv
cd
cp
rm
Which command lists files and folders in a directory?
ls
pwd
clear
date
Which option with ls shows hidden files (names starting with a dot)?
-l
-a
-r
-h
What does the mkdir command do?
Creates a directory
Removes a directory
Moves a directory
Displays a directory
Which command removes empty directories?
rm
rmdir
mv
cp
Which command removes files or directories?
rm
cp
mv
cat
Which rm option deletes directories recursively along with their contents?
-f
-i
-r
-a
Which command concatenates and displays the contents of text files?
less
cat
cal
date
Which command allows scrolling through file content one screen at a time?
cat
less
mv
pwd
Which command copies a file?
cp
mv
rm
rmdir
Which command moves or renames files or directories?
cp
rm
mv
pwd
Which command displays or sets the current date and time?
date
cal
clear
ls
Which command shows a calendar for a month?
date
cal
clear
pwd
Which command clears the terminal output?
rm
clear
pwd
cat
Which key combination sends SIGINT to stop a running process?
Ctrl + C
Ctrl + Z
Ctrl + D
Ctrl + A
Which key combination pauses (suspends) a process, placing it in the background?
Ctrl + C
Ctrl + Z
Ctrl + D
Ctrl + X
