Make Directory - mkdir Assignment Help

Assignment Help: >> Unix Files and Directories - Make Directory - mkdir

mkdir

The mkdir command is used to make new directories, therefore building a hierarchy of directories to maintain files in an orderly manner. It is always better to organize files based on the information in which they contain if there are hundreds of files. For instance, all files holding the personal information of the employees can be kept under one directory, which is called, personal. This helps in locating files if they are classified into subdirectories.

Syntax

mkdir   [ pathname]

in the syntax pathname is the path of the directory to be created.

Practice 1

The given example displays the usage of the mkdir command.

# mkdir salary

# cd salary

# pwd

/usr/sunil/personal/salary

The given example displays how to make a directory from the current directory (personal). In this pathway, directories inside directories can be created.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd