mirror of
https://github.com/Erreur32/cheat.git
synced 2024-12-22 21:52:12 +01:00
Adding mkdir cheat
This commit is contained in:
parent
0cc76a78a1
commit
bcebf8dfea
1 changed files with 9 additions and 0 deletions
9
cheatsheets/mkdir
Normal file
9
cheatsheets/mkdir
Normal 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}}
|
||||
|
Loading…
Reference in a new issue