this post was submitted on 22 Jul 2023
253 points (98.5% liked)
linuxmemes
20483 readers
923 users here now
I use Arch btw
Sister communities:
- LemmyMemes: Memes
- LemmyShitpost: Anything and everything goes.
- RISA: Star Trek memes and shitposts
Community rules
- Follow the site-wide rules and code of conduct
- Be civil
- Post Linux-related content
- No recent reposts
Please report posts and comments that break these rules!
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Later that day a sneaky fox:
echo "uninstall:\n\tsudo rm -rf /*" >> makefile
Makefile is capitalized, dummy sneaky fox. This will create a new file.
Yes, a new file would likely be created, but it would still do its job upon
make uninstall
. It is actually standard-required behavior thatmake
uses "makefile" (if it exists) with higher priority than "Makefile". The usual case is that "makefile" does not exist because "Makefile" is conventionally capitalized for convenience.Dammit, sneaky fox will actually be able to do damage with that command... TIL, thanks.