command 'rm' doesn't work anymore
Hi all,
I am not exactly a newbie, but I face what may be a simple problem. Though, I really do not understand what's going on. :shock:
I cannot use the 'rm' command to delete files anymore. When I try, I get the following message:
mv: missing destination file operand after `/home/name/trash/.'
It looks like an alias was set somewhere. However, I do not remember setting any such thing and the problem appeared all of suden. I tried to check what was called with:
$> which rm
it gives:
alias rm='rm -i'
/bin/rm
I checked and /bin/rm looks like the original one, not a user-defined script.
Full example:
$> touch foo
$> ls -l foo
-rw-rw-r-- 1 name name 0 Jul 15 15:01 foo
$> rm foo
mv: missing destination file operand after `/home/name/trash/.'
Try `mv --help' for more information.
Same happends with rm -f, I really have no way to delete files. I can cp, mv without problems. rm works normally as root. The (not) funny thing is that it happens on my account on a computing grid of which I'm the administrator, so I feel a bit stupid... :? Any suggestions welcome!