mirror of
https://github.com/cheat/cheat.git
synced 2024-12-18 10:45:05 +01:00
Adding mkdir cheat
This commit is contained in:
parent
0cc76a78a1
commit
bcebf8dfea
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 New Issue
Block a user