Bird
0
0

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

easy📝 Syntax Q12 of 15
Linux CLI - Linux Basics and Terminal
Which of the following is the correct syntax to create a new directory named projects?
A<code>mkdir projects</code>
B<code>mk projects</code>
C<code>create projects</code>
D<code>newdir projects</code>
Step-by-Step Solution
Solution:
  1. Step 1: Identify the command to create directories

    The standard Linux command to make a directory is mkdir.
  2. Step 2: Check the syntax

    The correct syntax is mkdir directory_name, so mkdir projects is correct.
  3. Final Answer:

    mkdir projects -> Option A
  4. Quick Check:

    Create directory command = mkdir [OK]
Quick Trick: mkdir means make directory; use it to create folders [OK]
Common Mistakes:
MISTAKES
  • Using mk instead of mkdir
  • Typing create instead of mkdir
  • Using newdir which is not a command

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Linux CLI Quizzes