Quick Answer: How to Make a Directory in Terminal Linux?
Contents

Type “mkdir [directory]” at the command prompt to make the directory.

Use the name of your new directory in place of the [directory] command line operator.

For example, to create a directory called “business,” type “mkdir business.” Be aware that this will create the directory within the current working directory.

How do I create a folder in Terminal?

Terminal rules

  • Open a Finder window and navigate to your Documents folder.
  • Type cd and drag the Documents folder onto the Terminal window.
  • Now, type mkdir “TerminalTest”

How do I create a directory in Unix?

Directories

  1. mkdir dirname — make a new directory.
  2. cd dirname — change directory. You basically ‘go’ to another directory, and you will see the files in that directory when you do ‘ls’.
  3. pwd — tells you where you currently are.
Chloe Bennett

Chloe Bennett

Culture, Media & Entertainment Columnist

Chloe Bennett explores the intersection of pop culture, streaming entertainment, digital trends, and contemporary lifestyle. Her weekly commentary reaches thousands of culture enthusiasts.

Share this article
Twitter Facebook Pinterest