mkdir

Creates a new directory in the file system

Supported on the following devices:

Syntax

mkdir <DIR>

Parameters

mkdir <DIR>

<DIR>

Specify a directory name.

Note: A directory, specified by the <DIR> parameter, is created within the file system.

Examples

nx9500-6C8809#dir
Directory of flash:/.

  drwx             Thu Sep 27 07:10:45 2018   tmptpd
  drwx             Thu Sep 27 07:10:45 2018   floorplans
  drwx             Wed Feb 27 11:24:42 2019   crashinfo
  drwx             Thu Sep 27 07:11:07 2018   hotspot
  drwx             Thu Sep 27 07:10:45 2018   cache
  drwx             Mon Feb 25 20:13:56 2019   archived_logs
  drwx             Wed Feb 27 02:53:06 2019   log
  drwx             Thu Sep 27 07:10:45 2018   upgrade

nx9500-6C8809#
nx9500-6C8809#mkdir test
nx9500-6C8809#dir
Directory of flash:/.

  drwx             Thu Sep 27 07:10:45 2018   tmptpd
  drwx             Thu Sep 27 07:10:45 2018   floorplans
  drwx             Wed Feb 27 11:24:42 2019   crashinfo
  drwx             Wed Feb 27 13:42:52 2019   test
  drwx             Thu Sep 27 07:11:07 2018   hotspot
  drwx             Thu Sep 27 07:10:45 2018   cache
  drwx             Mon Feb 25 20:13:56 2019   archived_logs
  drwx             Wed Feb 27 02:53:06 2019   log
  drwx             Thu Sep 27 07:10:45 2018   upgrade

nx9500-6C8809#