Users often find rm (and even rmi) too unforgiving because it removes files irrevocably. Create an alias named delete that moves files specified by its argument(s) into the ~/.trash directory. Create a second alias named undelete that moves a file from the ~/.trash directory into the working directory. Put the following line in your ~/.logout file to remove any files that you deleted during the login session: /bin/rm -f $HOME/.trash/* >& /dev/null Explain what could be different if the following line were put in your ~/.logout file instead: rm $HOME/.trash/* |