Q1
Q1 What is the primary purpose of the Linux operating system's kernel?
To manage the system's hardware resources effectively
To provide a graphical user interface
To support the installation of third-party software
To protect the system from viruses
Q2
Q2 Which of the following is a key feature of Linux?
Closed-source
Proprietary
Open-source
Single-user
Q3
Q3 What is the role of the GNU project in the Linux ecosystem?
It provides the Linux kernel
It provides system libraries and utilities
It develops the X Window System
It maintains the Linux kernel
Q4
Q4 What does the 'GPL' in Linux licensing stand for?
General Public License
Global Public License
General Privacy License
Global Privacy License
Q5
Q5 Which shell is the default in most Linux distributions?
Korn Shell
C Shell
Bourne-Again Shell
Z Shell
Q6
Q6 What is the primary purpose of the Linux bootloader?
To load the Linux kernel into memory
To provide a graphical user interface
To manage user authentication
To start the init process
Q7
Q7 Which of the following is not a Linux distribution?
Ubuntu
Fedora
Windows
Debian
Q8
Q8 What is the primary advantage of using a command-line interface (CLI) in Linux?
Easy to learn
Fast and efficient
Graphical interface
Limited functionality
Q9
Q9 Which command is used to list all files and directories in the current directory, including hidden ones?
ls -a
ls -l
dir
listall
Q10
Q10 A user reports that they are unable to write to a file named report.txt on a Linux system, despite the file showing that it exists when listing files with ls.
What could be the most likely cause of this issue?
The user does not have write permissions on report.txt
The file report.txt is a directory, not a file
The disk containing report.txt is full
The ls command is malfunctioning
Q11
Q11 What is the root directory in the Linux file system?
Q12
Q12 Which command is used to change the current working directory in Linux?
ls
cd
pwd
mv
Q13
Q13 What is the purpose of the directory in the Linux file system?
Contains user home directories
Contains configuration files
Contains binary executables
Contains temporary files
Q14
Q14 Which directory is used for temporary files that are created by the system and applications?
Q15
Q15 What is the purpose of the directory in the Linux file system?
Contains variable data files
Contains configuration files
Contains user home directories
Contains system binaries
Q16
Q16 Which file system type is most commonly used by Linux distributions?
NTFS
FAT32
ext4
HFS+
Q17
Q17 Which command is used to display the current working directory?
cd
ls
pwd
dir
Q18
Q18 How do you display detailed information about files and directories, including file permissions, in Linux?
ls -a
ls -l
ls -lh
ls -ld
Q19
Q19 Which command is used to create an empty file in Linux?
touch
create
mkfile
newfile
Q20
Q20 How do you move a file named document.txt from the current directory to the /backup directory?
cp document.txt /backup
mv document.txt /backup
move document.txt /backup
cp document.txt /backup/document.txt
Q21
Q21 A user complains that they cannot find a file named .hidden_file in their home directory using the ls command.
What could be the reason?
The file does not exist
The user does not have read permissions
The file is hidden
The file is in a different directory
Q22
Q22 A user reports that they can see a directory named backup in their home directory, but cannot enter it using cd backup.
What could be the reason?
The directory does not exist
The user does not have execute permissions
The directory is a symbolic link
The directory is hidden
Q23
Q23 Which command is used to display the manual pages for other commands in Linux?
help
man
info
doc
Q24
Q24 Which command is used to display a file's contents one page at a time?
more
cat
head
tail
Q25
Q25 Which command is used to view the last few lines of a file?
head
tail
cat
less
Q26
Q26 Which command is used to find the location of a command in Linux?
find
locate
whereis
which
Q27
Q27 What does the -r option in the rm command do?
Removes directories recursively
Removes read-only files
Renames files
Removes files with a specific pattern
Q28
Q28 Which command is used to display the disk usage of files and directories?
df
du
diskusage
checkdisk
Q29
Q29 Which command is used to change file access permissions in Linux?
chmod
chown
chgrp
chperm
Q30
Q30 Which command is used to create an empty file in Linux?
touch
create
mkfile
newfile