Skip Navigation
dot
  • 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.

  • greenmanz Greenman @lemmy.world

    Software engineering student

    Posts 0
    Comments 1
    Moderates