Software engineering student

  • 0 Posts
  • 1 Comment
Joined 1 year ago
cake
Cake day: June 17th, 2023

help-circle
  • Greenman@lemmy.worldtolinuxmemes@lemmy.worlddot
    link
    fedilink
    arrow-up
    1
    ·
    1 year ago

    To avoid rm mistakes in the future, you could set an alias that always provides the “-i” flag which makes the command prompt you with y/n before the deletion. Another solution is to alias rm for trash-cli commands to move files to the trash like when you delete files in your graphical file manager.