Skip to content

Linux Commands Interactive Quiz

Test your Linux command knowledge with this interactive quiz! Select your answers and get instant scoring.


📋 Assessment Guidelines

📝 Interactive Format

Select answers by clicking radio buttons or checkboxes

✅ Instant Scoring

Submit to see your score and detailed feedback

🔄 Retake Anytime

Reset and try again to improve your score

Question 1: Print Working Directory

Which command shows your current location in the file system?

Question 2: Listing Files

Which command option shows file sizes in human-readable format (KB, MB, GB)?

Question 3: Navigation

What does cd .. do?

Question 4: Creating Directories

Which command creates nested directories (parent folders if they don't exist)?

Question 5: File Operations - Multiple Select

Select ALL commands that can be used to view file contents:

Question 6: Removing Files

What does rm -rf do?

Question 7: Copying Files

How do you copy a folder and all its contents?

Question 8: Finding Files

Which command searches for text within files?

Question 9: Redirection

What does the > symbol do?

Question 10: Environment Variables

How do you set an environment variable permanently in bash?

Question 11: Git Commands

Which command is used to download a repository for the first time?

Question 12: Permissions

What does chmod +x script.sh do?

Question 13: Process Management - Multiple Select

Select ALL commands that can terminate processes:

Question 14: Disk Usage

Which command shows disk space usage in human-readable format?

Question 15: Archiving Files

Which command extracts a gzipped tarball?

Question 16: Symbolic Links

What command creates a symbolic link?

Question 17: Pipes

What does the pipe symbol | do?

Question 18: Hidden Files

Which command option shows hidden files (those starting with a dot)?

Question 19: Downloading Files - Multiple Select

Select ALL commands that can download files from the web:

Question 20: True or False

The command rm -rf / is safe to run and will only delete files in the current directory.


💡 Tips for Success

  • Read each question carefully
  • Think about what each command does before answering
  • For multiple select questions, select ALL correct answers
  • Remember that Linux commands are case-sensitive
  • Review your answers before submitting
  • Check the feedback to understand concepts better
  • Retake the quiz to improve your score!

📚 Additional Resources


🚀 Next Steps

After mastering these commands:

  1. Practice in your own terminal
  2. Try the hands-on exercises in the Basic Linux Commands guide
  3. Set up your VECTRI environment
  4. Explore more advanced commands like awk, sed, and shell scripting

Good luck! Remember: The best way to learn Linux is to use it! 🐧

In Partnership With