mkdir

From NetBSD Wiki

Jump to: navigation, search

mkdir(1) creates the directories named as operands, in the order specified, using mode rwxrwxrwx (0777) as modified by the current umask(2).

% mkdir dirname

Notably, mkdir can also create entire directory trees by using the -p argument:

% mkdir -p /usr/home/joe/newdir/newsubdir/newsubsubdir/

See also

View source code (Please report any bugs or suggestions here).

Retrieved from "http://wiki.netbsd.se/mkdir"
Personal tools