Merge pull request #105 from gbremer/mkdir-commands

Adding mkdir cheat
This commit is contained in:
Chris Lane 2013-09-23 17:36:35 -07:00
commit 350a4ee863
1 changed files with 9 additions and 0 deletions

9
cheatsheets/mkdir Normal file
View File

@ -0,0 +1,9 @@
# Create a directory and all its parents
mkdir -p foo/bar/baz
# Create foo/bar and foo/baz directories
mkdir -p foo/{bar,baz}
# Create the foo/bar, foo/baz, foo/baz/zip and foo/baz/zap directories
mkdir -p foo/{bar,baz/{zip,zap}}