Hi, I'm new to UNIX and want to set up an alias called "trash" that will send files to ~/.Trash instead of deleting them like rm does.
I've found multiple websites stating that a command such as:
will do just that.
However when I run that command all I get is:
Why?
I've found multiple websites stating that a command such as:
Code:
alias trash 'mv\!* ~/.Trash'
However when I run that command all I get is:
Code:
-bash: alias: mv\!* ~/.Trash: not found
Why?