Bird
0
0

What does the mkdir command do in Linux?

easy📝 Conceptual Q11 of 15
Linux CLI - File and Directory Operations
What does the mkdir command do in Linux?
ADeletes files from the system
BCreates new directories (folders) to organize files
CLists files in a directory
DChanges the current directory
Step-by-Step Solution
Solution:
  1. Step 1: Understand the purpose of mkdir

    The mkdir command is used to create new directories (folders) in Linux.
  2. Step 2: Compare with other commands

    Deleting files is done by rm, listing files by ls, and changing directories by cd.
  3. Final Answer:

    Creates new directories (folders) to organize files -> Option B
  4. Quick Check:

    mkdir = create folders [OK]
Quick Trick: mkdir always makes folders, not files or lists [OK]
Common Mistakes:
  • Confusing mkdir with rm or ls commands
  • Thinking mkdir deletes files
  • Assuming mkdir changes directories

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Linux CLI Quizzes