GNU/Linux Command – MKDIR

mkdir — MaKe DIRectories.

Summary :

mkdir Create the DIRECTORY(ies) with the specified names, if they do not already exist.

Examples :
$ mkdir dir1 -- Create a dir1, if dir1 is NOT an existing fileor directory. $ mkdir dir1 dir2 dir3 -- Create 3 Directories. $ mkdir -m 744 dir1 -- Create a dir1 with specified permissionmode. $ mkdir -p dir1/dir2/dir3 -- Make the missing parent directoriesfor each argument. Suppose if dir1 or dir2 is not exist, thendir1 and dir2 will be created before creating the dir3. $ mkdir -v dir1/dir2/dir3 -- Print a message for each created dir.
Read : man mkdir

Advertisements
Tagged with: ,
Posted in Uncategorized

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: