Mkdir

Synopsis

This module assists in creating a directory. The user can specify the path while declaring creation of directory or at run-time of creating a directory. It can be performed either in remote or local machine. Let us see about how this module helps in creating a directory.

Help Command

The help command leads the users regarding the purpose and as well as about the options that are included in the Mk Dir. The help command lists out the alternative parameters of MK Dir. . It also describes the syntax for creating a directory in two different ways either at time of declaration or at run-time. . The help command for MK dir is shown below.

cleopatra mkdir help

The syntax for declaring the help command is not case sensitive which is an added advantage. The following screenshot visualize you about the help command under MK dir.

kevells@corp:/# cleopatra Mkdir help
******************************


This command handles file copying functions.

 Mkdir, mkdir

- path
Will ask you for details for servers, then copy a file or directory from local to remote
example: cleopatra mkdir path
example: cleopatra mkdir path --yes --path="/path/to/new/directory"

------------------------------
End Help
******************************

Alternative Parameters

While using commands for help and creating a directory, instead of mkdir Mkdir can also be used.

Creating a Mk Dir

Creating an Mk Dir can be done in two different ways:

Either at run-time

Example: cleopatra mkdir path

Or, at the time of declaration

Example: cleopatra mkdir path --yes --path="/path/to/new/directory"

The following screen shot depicts the second way of creating a directory.

kevells@corp:/# cleopatra mkdir path --yes --path="/kevellsdoc"

[Pharaoh Logging] [Mkdir] Executing mkdir /kevellsdoc
******************************


Mkdir Result: Success
------------------------------
Mkdir Finished
******************************

Benefits

  • The parameters used in help and creating a directory operations are not case sensitive which is an added advantage while compared to others.
  • Creating a directory can be defined in two different ways as declaration time or at run-time.
  • It can be performed both in local or remote machine.
  • It is well-to-do in both Ubuntu and as well as Cent OS.
comments powered by Disqus

Edit this document!

This file can be edited directly through the Web. Anyone can update and fix errors in this document with few clicks -- no downloads needed.

  1. Go to Mkdir on GitHub.
  2. Edit files using GitHub's text editor in your web browser (see the 'Edit' tab on the top right of the file)
  3. Fill in the Commit message text box at the bottom of the page describing why you made the changes. Press the Propose file change button next to it when done.
  4. Then click Send a pull request.
  5. Your changes are now queued for review under the project's Pull requests tab on GitHub!

For an introduction to the documentation format please see the reST primer.