Solaris Advanced User's Guide

Creating a Directory (mkdir)

To create a new directory, type the mkdir command and follow it with the name of the new directory.


$ mkdir veggies
$ cd veggies
$ mkdir broccoli
$ cd broccoli
$ pwd
/home/user2/veggies/broccoli