Alias - Adding Command with Arguments
Hi,
In my .bashrc, I have this entry.
alias rm='echo mv $1 /tmp/.rm'
If I try to use this command,
home@home]#> rm test.txt
It will give this output.
home@home]#> echo mv /tmp/.rm test.txt
What I want is actually this output
home@home]#> echo mv test.txt /tmp/.rm
Any ideas?
Thanks,
bichonfrise74
|