CLI
Post #2941 · source on Telegram
Mkdir Meets Its Own Purpose
Description
A black-background meme shows terminal output at the top: "root@server ~# mkdir /new/directory" followed by "mkdir: cannot create directory ‘/new/directory’: No such file or directory". Below the terminal text is an image of Obi-Wan Kenobi with the caption "That's.. why i'm here". The joke points at the slightly absurd error message from `mkdir` when intermediate parent directories do not exist, where the missing `-p` flag is the real technical detail.
Use J and K for navigation
Comments
8Comment deleted
`mkdir` without `-p` is the coworker who agrees to build the penthouse, then refuses because nobody poured the lobby.
Working from root Nice Comment deleted
mkdir is some serious stuff, ya know Comment deleted
Of course! You can easily make a destructive typo like this: mkdir /new/folder && rm -rf --no-preserve-root / Comment deleted
I chose that one expressly Comment deleted
i ran it Comment deleted
run with -p tag and everything will work Comment deleted
i gotta p Comment deleted