Sunday, August 8, 2010

Creating a directory in unix

You can create a directory by using the mkdir command. For example, to create a directory named mayhem within the current working directory:

    % mkdir mayhem

You may create a subdirectory within any directory where you have write permission . For example, to create a directory called /u/trixie/bazz/fazz, assuming that directory /u/trixie/bazz already exists:

    % mkdir /u/trixie/bazz/fazz

No comments:

Post a Comment