raoul@lemmy.sdf.orgtoLinux@lemmy.ml•What's (are) the funniest/stupidest way(s) you've broken your linux setup?
10·
10 months agoYes: same command name, two different semantics:
Cross-Unix scripting is fun ☺️
Yes: same command name, two different semantics:
Cross-Unix scripting is fun ☺️
First, the classical typo in a bash script:
set FOLDER=/some/folder
rm -rf ${FODLER}/
which is why I like to add a set -u at the begining of a script.
The second one is not with a Linux box but a mainframe running AIX:
If on Linux killall java kills all java processes, on AIX it just ignore the arguments and kill all processes that the user can kill. Adios the CICS region 😬 (on the test env. thankfully)
Nah, it’s more:
QA: Can it be used as a catapult?
The report, shared with The Register, estimates that Google’s payout accounts for 14% to 16% of Apple’s annual operating profits [in 2021].
What?!? That’s huge
Happy birthday Debian🥳
I didn’t know that, good to know.
They could have send a SIGTERM by default instead of a SIGKILL. I would not have corrupt everything 😅