Suicide Linux
61–70 of 135 posts
Re: Suicide Linux
#62Re: Suicide Linux
#63It would make a good prank to set up on someone that left their machine unlocked. Not sure if it’s more funny than changing their background to goatse.
Re: Suicide Linux
#64a less destructive version of this is to install `sl` on your linux or mac.
$ ls -F
dammit!
$ sl -F
So I guess it's corrected my typos already :)
Re: Suicide Linux
#65On Illumos rm -rf / does nothing. POSIX says that removing / has undefined behavior, so the obviously smart (useful, user-friendly, GOOD) thing to do is to do nothing, as that fits "undefined behavior".
That's quite funny... but ultimately futile. It doesn't say what happens if you say "DROP TABLE xyz WHERE...ohshit". (The bit is because you're used to doing that in your preferred SQL-DB editor.) One should NEVER do anything non-scripted on a production system. ALWAYS enter it into a file and then do the "run-sql-from-a-file" command. EDIT: Yes, I also realize that "rm -rf /" can theoretically happen if you have a b…
Re: Suicide Linux
#66Earlier quoted context omitted.
Just pipe the output through cat. By default, the "pipefail" option is not set, so echo foo | grep bar | cat is successful. Of course, this works for any command.
Alternatively and less wastefully: echo foo | grep bar || true
echo foo | grep bar || :Re: Suicide Linux
#67Re: Suicide Linux
#68Just have to mention, since I recognize the domain, that Sam Hughes has some excellent science fiction freely available in a serialized form here as well. Well worth investigating.
Don't miss his work at SCP wiki, either. http://www.scp-wiki.net/qntm-s-author-page