A+ Linux Command Quiz: Can You Master ls, grep & chmod?

Reviewed by Editorial Team
The ProProfs editorial team is comprised of experienced subject matter experts. They've collectively created over 10,000 quizzes and lessons, serving over 100 million users. Our team includes in-house content moderators and subject matter experts, as well as a global network of rigorously trained contributors. All adhere to our comprehensive editorial guidelines, ensuring the delivery of high-quality content.
Learn about Our Editorial Process
| By Thames
T
Thames
Community Contributor
Quizzes Created: 7097 | Total Attempts: 80,150
| Questions: 20 | Updated: Jul 2, 2026
Quiz
Please wait...
Question 1 / 21
🏆 Rank #--
0 %
0/100
Score 0/100

1. What does 'mkdir' create?

Submit
Please wait...
About This Quiz
A+ Linux Command Quiz: Can You Master Ls, Grep & Chmod? - Quiz

Master essential Linux Commands Basics (A+) with this college-level quiz covering fundamental command-line tools. Test your knowledge of ls, grep, chmod, and other core utilities critical for CompTIA A+ certification. This quiz evaluates your ability to navigate the file system, search text, and manage file permissions\u2014skills every IT professional must... see moremaster. see less

2.

What first name or nickname would you like us to use?

You may optionally provide this to label your report, leaderboard, or certificate.

2. The 'whoami' command displays the ____.

Submit

3. What does 'which' command do?

Submit

4. The 'tail' command shows the last lines of a file.

Submit

5. Which command displays the first few lines of a file?

Submit

6. The 'find' command is used to ____.

Submit

7. What does 'rm -f' do?

Submit

8. The 'mv' command both moves and renames files.

Submit

9. Which flag allows 'cp' to copy directories recursively?

Submit

10. The 'cp' command is used to ____.

Submit

11. What does the 'ls -la' command display?

Submit

12. Which command removes a directory?

Submit

13. The 'pwd' command ____.

Submit

14. What does 'cat' do in Linux?

Submit

15. The 'chmod 755' command grants which permissions to the owner?

Submit

16. In chmod, what does the number 7 represent?

Submit

17. Which command changes file permissions in Linux?

Submit

18. What does 'grep -i' do?

Submit

19. The 'grep' command is used to ____.

Submit

20. Which flag reverses the sort order in the ls command?

Submit
×
Saved
Thank you for your feedback!
View My Results
Cancel
  • All
    All (20)
  • Unanswered
    Unanswered ()
  • Answered
    Answered ()
What does 'mkdir' create?
The 'whoami' command displays the ____.
What does 'which' command do?
The 'tail' command shows the last lines of a file.
Which command displays the first few lines of a file?
The 'find' command is used to ____.
What does 'rm -f' do?
The 'mv' command both moves and renames files.
Which flag allows 'cp' to copy directories recursively?
The 'cp' command is used to ____.
What does the 'ls -la' command display?
Which command removes a directory?
The 'pwd' command ____.
What does 'cat' do in Linux?
The 'chmod 755' command grants which permissions to the owner?
In chmod, what does the number 7 represent?
Which command changes file permissions in Linux?
What does 'grep -i' do?
The 'grep' command is used to ____.
Which flag reverses the sort order in the ls command?
play-Mute sad happy unanswered_answer up-hover down-hover success oval cancel Check box square blue
Alert!