mkdir[options]directories
Create one or more directories. You must have write
permission in the parent directory in order to create a
directory. See also rmdir.
modeSet the access mode for new directories.
Create intervening parent directories if they don't exist.
Create a read-only directory named personal:
mkdir -m 444 personal
The following sequence:
mkdir work; cd workmkdir junk; cd junkmkdir questions; cd ../..
could be accomplished by typing this:
mkdir -p work/junk/questions