mkdir: Create a new directory

Package: system

Usage

mkdir newdir

Parameters

newdir
New directory or subdirectory to be made.

Description

Mkdir creates a new directory with the given name. Newdir may be an IRAF virtual directory name (not a logical name) or a host directory name.

Examples

1. Make a subdirectory named "sub1".

cl> mkdir sub1

2. Make a subdirectory "sub2" below "sub1". The subdirectory "sub1" must already exist.

cl> mkdir sub1/sub2

3. Make a directory "blue" at the same level in the directory hierarchy as the current directory (".." is a synonym for the previous directory).

cl> mkdir ../blue