What does the 'mkdir' command do?

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

The 'mkdir' command is used to create a new directory in the Linux filesystem. When you run this command followed by the name of the directory you want to create, it establishes a new folder at that specified location. This is an essential command for organizing files, as it allows users to create a structured hierarchy of directories within the filesystem.

For example, using 'mkdir projects' in the terminal will create a new directory called 'projects' in the current working directory. This command is fundamental for file management in Linux and is commonly used in conjunction with other commands to manage files and directories efficiently.

Subscribe

Get the latest from Examzify

You can unsubscribe at any time. Read our privacy policy