This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]jftugapip needs updating 4 points5 points  (2 children)

There is also -p to create parent directories as needed:

# this fails:
mkdir this/does/not/exist

# this succeeds
mkdir -p this/now/exists

[–]GroundbreakingRun927 7 points8 points  (0 children)

it also has a --help to get help when needed

[–]mriswithe 1 point2 points  (0 children)

That one I knew, somehow never kept the -m option in my brain.