I am a newbie. I set an alias in .bashrc file as follow.
alias myrm='mv /home/user/Trash/*'
The purpose is that when I use myrm comment, for example $myrm foo, the file "foo" has to be moved to the Trash folder which is in my home folder (/home/user/Trash).
Then I did
After this, when I try to use myrm by typing $myrm foo, I get the following error message.
mv: cannot stat ‘/home/user/Trash/*’: No such file or directory
How this problem can be solved?