Jeff Sikes on Nostr: I'm just a little linux baby, learning as things come up. #TIL about the -p flag for ...
I'm just a little linux baby, learning as things come up. #TIL about the -p flag for the `mkdir` command and it's such a nifty shortcut. You can create a series of directories with just a single line.
`mkdir -p /existing01/existing02/does/not/exist/yet`
Creates the missing directories does > not > exist > yet
Published at
2025-02-16 15:11:02Event JSON
{
"id": "511abd240cf1bf40b3405ab01579d8c5dae575a7975cb9dac6fcf30220e7a662",
"pubkey": "a1d298025fbb99f8d4ae403a38b781e334d6198af8039415a0cf2ad06f35e9b3",
"created_at": 1739718662,
"kind": 1,
"tags": [
[
"t",
"til"
],
[
"proxy",
"https://mastodon.social/users/box464/statuses/114014202285365823",
"activitypub"
]
],
"content": "I'm just a little linux baby, learning as things come up. #TIL about the -p flag for the `mkdir` command and it's such a nifty shortcut. You can create a series of directories with just a single line.\n\n`mkdir -p /existing01/existing02/does/not/exist/yet`\n\nCreates the missing directories does \u003e not \u003e exist \u003e yet",
"sig": "3b0c492a258bbf3cef770fe586b8d3080e6084fa4e19dac60cbcd24845f77a18822726ef65492de368de39ea088feccee9668b45d8cc4159d684f051d86eaa2b"
}