Advertisement

Basic Linux Commands Linux Quiz : 3

Basic Linux Commands Linux Quiz : 3

Question 1:
What does the ln command do without any options?
A) Creates a hard link
B) Creates a symbolic link
C) Lists files
D) Deletes links
Answer: A) Creates a hard link


Question 2:
Which command will show all available commands and their descriptions?
A) man
B) info
C) help
D) guide
Answer: A) man


Question 3:
Which command is used to display information about the system’s memory usage?
A) free
B) mem
C) top
D) disk
Answer: A) free


Question 4:
Which command is used to kill a running process by its PID?
A) kill
B) stop
C) end
D) terminate
Answer: A) kill


Question 5:
Which command shows the available disk space on all mounted filesystems?
A) df
B) du
C) lsblk
D) fdisk
Answer: A) df


Question 6:
What does the top command display?
A) A real-time view of system processes
B) The disk usage of files
C) The last modified files
D) The file system table
Answer: A) A real-time view of system processes


Question 7:
Which command is used to change a file’s modification time?
A) touch
B) chmod
C) stat
D) modify
Answer: A) touch


Question 8:
Which command displays the available and used disk space for each filesystem?
A) df
B) du
C) ls
D) stat
Answer: A) df


Question 9:
Which command would you use to remove an empty directory?
A) rmdir
B) rm
C) del
D) erase
Answer: A) rmdir


Question 10:
Which command will display the process status of currently running processes?
A) ps
B) top
C) jobs
D) pstree
Answer: A) ps

Post a Comment

0 Comments