I am trying to create an alias to move files and directories to the
tmp directory. This is what I've tried:
alias rm='/bin/mv *.* /tmp'
The problem is that when I type
rm filename, I get an error saying:
/bin/mv: target 'filename' is not a directory.
I know that filename is just a file. The point is that I want to move it to the specified
/tmp directory. Can anyone help me?