📖
Resources
  • 👋Welcome!
  • Semesters
    • 🚀S1 & S2
      • 🔍Focus
      • ⚗️Chemistry
      • 🔭Physics
      • 📊LAC
      • 📈VCD
      • 🏘️BCE - BME
      • 🔌BEE
      • 📐Graphics
      • ⚙️Mechanics
      • 🖥️CP
      • ⛷️Life Skills
      • 🧑‍💼PC
    • 📚S3
      • 📉DS
      • ⚙️DE
      • 📊DMS
      • 🧑‍💻OOP
      • 🖥️OOP Lab
      • 🗝️LSD
      • 🌱SE
      • 🔍Extras
    • 📓S4
      • 📊GT
      • 💾COA
      • 🪣DBMS
      • 💽OS
      • 😃PE
      • 🇮🇳COI
      • 🥼DE Lab
      • 💻OS Lab
      • 🔐Number Theory
    • ✏️S5
      • 💾FLAT
      • 🛜CN
      • 💽SS
      • 🕹️MM
      • 💻MOSS
      • ☢️DM
      • 🥼SS&M Lab
      • 🪣DBMS Lab
      • Cryptographic Algorithms
    • 📖S6
      • CD
      • CGIP
      • AAD
      • PIP (Elective)
      • IEFT
      • CCW
      • Networking Lab
      • Mini Project
    • 📝S7
    • 🎓S8
  • Resources
    • Git
      • Git installation
      • What is Git?
    • Linux
      • Introduction
        • History of Operating System
        • Rise of GNU Project
        • Basic Terminologies
      • Linux shell
      • Commands
        • The Linux man command
        • The Linux ls command
        • cd command
        • The Linux pwd command
        • The Linux mkdir command
        • The Linux rmdir command
        • mv command
        • cp command
        • open command
        • touch command
        • find command
        • Cat command
        • grep command
        • Echo command
        • Vim Editor
        • Emacs Editor
        • Nano editor
        • whoami command
        • who command
        • su command
        • sudo command
        • passwd command
        • clear command
        • History command
    • DSA
      • 1.2 Concepts of Sliding Window Technique
      • 2.2 Characteristics of Sliding Window Problems
      • 1.3 Introduction to Deque and Monotonic Stack
Powered by GitBook
On this page

Was this helpful?

Edit on GitHub
  1. Resources
  2. Linux
  3. Commands

The Linux mkdir command

You create folders using the mkdir command:

mkdir fruits

You can create multiple folders with one command:

mkdir dogs cars

You can also create multiple nested folders by adding the -p option:

mkdir -p fruits/apples

Options in UNIX commands commonly take this form. You add them right after the command name, and they change how the command behaves. You can often combine multiple options, too.

You can find which options a command supports by typing man <commandname>. Try now with man mkdir for example (press the q key to esc the man page). Man pages are the amazing built-in help for UNIX.

PreviousThe Linux pwd commandNextThe Linux rmdir command

Last updated 1 year ago

Was this helpful?