The mkdir command lets you create a new UNIX subdirectory.
The mkdir command produces no output unless you have made a mistake.
Don't forget, UNIX is case sensitive, UPPER CASE directory names are considered to be different from lower case directory names.
Also, directory names and file names that begin with a period are normally invisible. There is one important directory like this, it is your .mac subdirectory. That is where all your Macintosh files are stored when you connect to your CMGM account using the Chooser.
Popular mkdir commands include
|
What to type |
What it does |
|
|
creates a subdirectory called test2 |
|
|
makes a directory called test2 the /tmp directory |
|
|
removes an empty directory called test2 |
NOTE : The rmdir command will remove a directory only when empty. To remove a full directory and all it's contents, use the command
rm -r directory_name
Think twice before using this command. There is no "undelete" command in UNIX.
For more help with the mkdir command or to see the online UNIX manual for the mkdir command, click here.