LPI Linux Essentials 010-160 Practice Test

Question: 1 / 400

What command is used to create directories in Linux?

mkdir

The command used to create directories in Linux is `mkdir`. This command stands for "make directory" and is followed by the name of the directory you want to create. When executing `mkdir <directory_name>`, the system will create a new directory with the specified name in the current working directory, provided you have the necessary permissions to create directories in that location.

Using `mkdir` is a fundamental operation in Linux for organizing files and creating structured directory layouts. This command can also accept options like `-p`, which allows the creation of parent directories as needed.

Other options provided are not valid commands to create directories in Linux. The command `create` is not recognized as a standard command in Linux. `touch` is designed primarily for creating empty files or updating the timestamps of existing files, not for creating directories. The term `newdir` does not correspond to any known command for directory creation. Thus, `mkdir` is the accurate and widely used command for this purpose in the Linux environment.

Get further explanation with Examzify DeepDiveBeta

create

touch

newdir

Next Question

Report this question

Subscribe

Get the latest from Examzify

You can unsubscribe at any time. Read our privacy policy