You are viewing a single thread.
View all comments 0 points
I trolled myself by “learning” that I could delete all files in a directory, including hidden files, with rm -rf ./*
. The mistake being that I (more than once…) accidentally put a space between the .
and /
.
0 points
I forced myself to use trash (from trash-cli) when I lost my first server install from this.
Nowadays, I’ve removed the alias from rm that asked me to use trash, and am still using trash if there’s a chance I might want to keep something.
0 points
I just alias rm to trash and if I really want to remove something I just escape the alias: \rm
0 points