[Ilugc] One Day One GNU/Linux Command (RM)

  • From: ashokgautham@xxxxxxxxx (Ashok Gautham J.)
  • Date: Sat Jun 21 07:21:24 2008

I have an alias in my .bashrc ...

alias rm = "mv -t ~/.Trash/"

Of Course, you have to remember a different set of options.. eg. -rf wont
work... It moves directories implicitly..


And yeah.. When you feel the size has exceeded a certain limit, you can
delete it with /usr/bin/rm -r ~/.Trash/*

Other related posts: