a less destructive version of this is to install `sl` on your linux or mac.
That gets installed right after cowsay. I have my priorities.
Suicide Linux
11–20 of 135 posts
Also, lolcat:
Re: Suicide Linux
#12Haha, how can it do that out of interest, if you're not root? (As aren't the top level directories in / owned by root?, or does it work anyway, if rm can recurse down? deleting files from the current user)
Re: Suicide Linux
#13a less destructive version of this is to install `sl` on your linux or mac.
I never type sl, but often type "gerp". I have an alias though.
Re: Suicide Linux
#14Haha, how can it do that out of interest, if you're not root? (As aren't the top level directories in / owned by root?, or does it work anyway, if rm can recurse down? deleting files from the current user)
As far as I know, it can recurse down and get to more files than you want.
The alternative is that the last time I ran that command, it was actually on an account with write rights to the root dir.
Re: Suicide Linux
#15Haha, how can it do that out of interest, if you're not root? (As aren't the top level directories in / owned by root?, or does it work anyway, if rm can recurse down? deleting files from the current user)
In the video he says that you need to be root when you make the typo. But since you have to be root when you install the package, you could plant a suid binary or even leave a service running as root that deletes all your files later.
Re: Suicide Linux
#16Perhaps a better name would be Roguelike Linux.
Re: Suicide Linux
#17bash corrects your spelling?? Is this a cute way of saying "I made a typo that turned out to be a legit command" or is there some DWIM I don't know about (and thankfully don't have enabled)?
Re: Suicide Linux
#18a less destructive version of this is to install `sl` on your linux or mac.
reminds me my once time rather enjoyable error of "ls -l | moire" (with xscreensaver installed)
Re: Suicide Linux
#19He seems to have forgotten the --no-preserve-root flag.
This was made before they added that flag :)
Re: Suicide Linux
#20not enough, I want a 5 seconds timer on every new attempted input line. You either type something or you don't.