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 /.

permalink
report
reply
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.

permalink
report
parent
reply
0 points

I just alias rm to trash and if I really want to remove something I just escape the alias: \rm

permalink
report
parent
reply
0 points

Could do that, but they have different flu args.i respect the power of rm now.

permalink
report
parent
reply

linuxmemes

!linuxmemes@lemmy.world

Create post

I use Arch btw


Sister communities:
Community rules
  1. Follow the site-wide rules and code of conduct
  2. Be civil
  3. Post Linux-related content
  4. No recent reposts

Please report posts and comments that break these rules!

Community stats

  • 7.8K

    Monthly active users

  • 935

    Posts

  • 17K

    Comments