Bird
0
0

Which of the following is the correct command to create a new directory named projects?

easy📝 Syntax Q12 of 15
Linux CLI - File and Directory Operations
Which of the following is the correct command to create a new directory named projects?
Amkdir projects
Bmkfile projects
Ccreatedir projects
Dnewdir projects
Step-by-Step Solution
Solution:
  1. Step 1: Recall the command to make directories

    The Linux command to create a directory is mkdir.
  2. Step 2: Match the command with the directory name

    Using mkdir projects creates a directory named 'projects'.
  3. Final Answer:

    mkdir projects -> Option A
  4. Quick Check:

    mkdir = make directory [OK]
Quick Trick: Remember mkdir stands for 'make directory' [OK]
Common Mistakes:
  • Using commands that don't exist like mkfile
  • Confusing file creation with directory creation
  • Typing commands with wrong syntax

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Linux CLI Quizzes