The mkdir command is very easy to use. We will stick with our example above and show how user mary can create the directory misc~/~/ within her home directory. The first thing that will have to be done is to open up a terminal window (such as aterm, gnome-terminal, or konsole). When the terminal window opens the bash prompt will be at the ~/ directory (that is the home directory of the user, or in this case /home/mary). At the bash prompt user mary would enter the command mkdir misc and the directory /home/mary/misc will be created.
But let's say user mary is in her home directory (/home/mary) and wants to create a new subdirectory within the newly created /home/mary/misc directory called dec08. The user mary doesn't have to change into /home/mary/misc but can just issue the command mkdir /home/mary/misc/dec08 in order to create the new directory. In other words, as long as the user has permission to create the subdirectory, the new directory can be created from anywhere within the file structure.