Linux Quiz - Multiple Choice Questions
Q1. What command is used to list files and directories in Linux?
A. dirB. ls
C. list
D. show
Q2. Which command is used to change the current directory in Linux?
A. cdB. chdir
C. change
D. move
Q3. What command is used to display the contents of a file in Linux?
A. catB. show
C. view
D. open
Q4. Which command is used to copy files or directories in Linux?
A. copyB. cp
C. duplicate
D. replicate
Q5. What command is used to move or rename files or directories in Linux?
A. moveB. mv
C. rename
D. shift
Q6. Which command is used to delete files or directories in Linux?
A. deleteB. rm
C. remove
D. erase
Q7. What command is used to change file permissions in Linux?
A. chmodB. perm
C. change
D. modify
Q8. Which command is used to find files in Linux?
A. searchB. find
C. locate
D. seek
Q9. What command is used to display the current directory in Linux?
A. pwdB. dir
C. current
D. path
Q10. Which command is used to display the manual pages in Linux?
A. helpB. man
C. info
D. guide
Q11. What command is used to display the disk usage of files and directories in Linux?
A. dfB. du
C. disk
D. usage