PAPER 2026 QUESTIONS WITH SOLUTIONS
GRADED A+
◉ How can the current directory and its subdirectories be searched
for the file name MyFile.xml?
Grep MyFile.xml | find
Grep -r MyFile.xml
Less MyFile.xml
Search MyFile.xml ./. Answer: Find -name MyFile.xml
◉ You have a program called /user/bin/foo. You wish to create a
symbolic link, /home/user/bin/foo, that points to it. Which
command will do this task?
Ln -sys /home/user/foo /user/bin/foo
Ln -s /user/bin/foo /home/user/foo
Ln /home/user/foo /user/bin/foo
Ln /user/bin/foo /home/user/foo
Ln --symlink /home/user/foo /user/bin/foo. Answer: Ln -s
/user/bin/foo /home/user/foo
,◉ Which command lists all files in the current directory that starts
with a capital letter?
Ls [A-Z]*
Ls A-Z
Ls A-Z*
Ls --upercasefiles
Ls -uppercase-files. Answer: Ls [A-Z]*
◉ What keyword is missing from the following segment of the shell
script?for i in*;----cat $idone
Do
Then
Endo
Fi
Run. Answer: Do
◉ Which of the following commands can be used to determine the
time of the last login of a given user?
Showlog
Recent
Last
History
, Login. Answer: Last
◉ Which of the following file systems is most commonly used for
Linux distributions?
HFS+
Ext4
FAT32
NTFS. Answer: Ext4
◉ Which of the following commands can be used to extract files
from an archive?
Tar -vf
Tar -xvf
Tar -evf
Tar -e
Tar -v. Answer: Tar -xvf
◉ Which of the following commands are used to view memory usage
(Choose two correct answers).
Memory
Top
Ps