Examples of using the mkdir command

Examples of using the mkdir command

To make a directory in the current directory:

   mkdir specification

This creates a new directory specification in your current working directory.


To make a new directory in the parent directory:

   mkdir ../presentations

This creates the directory presentations in the parent directory of the current working directory.

In effect, this creates a new directory at the same level of the file system as the current directory.


To make a new directory in a subdirectory:

   mkdir reports/january/amy

This creates the directory amy in the subdirectory reports/january.


[Home] [Search] [Index] This site maintained by unixhelp@math.rutgers.edu
This page was last updated on September 05, 2006 at 10:30 am and is maintained by webmaster@math.rutgers.edu.
For questions regarding courses and/or special permission, please contact mclausen@math.rutgers.edu.
For questions or comments about this site, please contact help@math.rutgers.edu.
© 2012 Rutgers, The State University of New Jersey. All rights reserved.