You're viewing a single thread.
Obligatory reminder to remove the French language pack:
sudo rm -fr /*
95 0 ReplyI mean... You're not wrong. If there's a French language pack on the system, it will remove it.
Tap for spoiler
Along with everything else.
47 0 ReplyI add a -v because I like to watch.
32 0 ReplyYou sick Bastard.
10 0 Reply
alias trash-put from trash-cli in both sudo and user.
myrm() { trash-put "$@" } alias rm="myrm"
This has saved my ass so many times. Especially when typing "rm * .png" instead of "rm *.png"
Can restore the files using the cli or from system recycling bin.
The alias to rm is probably not best. So getting use to using another name is probably best. But I'm never had a problem with it.
13 0 ReplyThat feeling where rm is taking a while to return to the prompt
12 0 ReplyExactly. Ctrl+C and hope ls isn't completely empty.
4 0 Reply
Or just use snapshots. If you are into aliases make an alias for rm to make a snapshot before deleting something.
3 0 ReplyI've never ran into any issues from using rm but I like this idea and will be using it as I only see positives
2 0 ReplyDownsides can be inconsistent behavior. As with any alias it's not meant to be anything but a replacement in your shell. Scripts/SSH etc.
Also, you gotta remember to empty your trash. :)
3 0 Reply
My brother did this accidentally... twice... Don't ask me how you manage to do this twice...
9 0 Replyhelp
9 0 ReplyDid you actually run it?
In this case, I hope you had a backup. Boot a live system to see if there's anything left. Back that up, then reinstall.
7 0 Reply
make sure to add
--no-preserved-root
to make sure to update all the English libraries too so you can make sure only freedom fries are respected.3 0 ReplyNot necessary with
/*
Only needed if you dorm -rf /
10 0 ReplyNo preserved root because candied ginger is gross
3 0 Reply