Free Hosting Online for WorkStations

< Previous | Contents | Next >

mkdir – Create Directories

The mkdir command is used to create directories. It works like this:


mkdir directory...

mkdir directory...


A note on notation: When three periods follow an argument in the description of a com- mand (as above), it means that the argument can be repeated, thus:



mkdir dir1

mkdir dir1


would create a single directory named “dir1”, while



mkdir dir1 dir2 dir3

mkdir dir1 dir2 dir3


would create three directories named “dir1”, “dir2”, and “dir3”.


Top OS Cloud Computing at OnWorks: