Which of the following commands is used to create a directory?

Prepare for the LPI Linux Essentials 010-160 Test. Study with flashcards and multiple choice questions, each question offers hints and explanations. Get ready to ace your exam!

The command used to create a directory in a Linux environment is "mkdir," which stands for "make directory." This command allows users to create one or more directories at a time and is fundamental for organizing file systems within Linux.

When you execute the "mkdir" command followed by a directory name, it attempts to create that specified directory at the current location or the path provided. For instance, running "mkdir new_folder" will create a directory called "new_folder" in your current working directory.

The other choices presented do not correspond to valid commands recognized by the Linux operating system for creating directories. Understanding this command is essential for managing and structuring files within a Linux system effectively.

Subscribe

Get the latest from Examzify

You can unsubscribe at any time. Read our privacy policy