Which command is used to create a new directory?

Prepare for the LPI Linux Essentials Exam. Study with flashcards and multiple choice questions, each with hints and explanations. Get exam-ready!

The command used to create a new directory in a Linux environment is "mkdir." This command stands for "make directory" and is a standard utility found in Unix-like operating systems, including Linux. When you execute the "mkdir" command followed by the desired directory name, the system creates a new directory at the specified location.

For example, running mkdir newfolder will create a directory named "newfolder" in the current working directory. The simplicity and effectiveness of this command make it a fundamental tool for managing directories and organizing files within a Linux system.

The other provided options do not represent valid commands in Linux for creating a directory, which is why they are not suitable choices.

Subscribe

Get the latest from Examzify

You can unsubscribe at any time. Read our privacy policy