View previous topic :: View next topic |
Author |
Message |
nugenth n00b
Joined: 26 Sep 2004 Posts: 8
|
Posted: Sun May 15, 2005 6:25 am Post subject: Brain fart or hacked? |
|
|
My gentoo box is primarily acting as a NAS so my Linux skills are stagnating because I'm not actively using it.
Anyway, I went to move a directory, and it looks like my MV command is mapped to RM, I get the following message when I do a MV without any parameters:
Code: |
$ mv
rm: too few arguments
Try `rm --help' for more information.
|
What the hell did I do? I can't remember where the command mappings are set, I used to know but forgot.
Any help or suggestions? |
|
Back to top |
|
|
Given M. Sur l33t
Joined: 03 Feb 2004 Posts: 648 Location: No such file or directory
|
Posted: Sun May 15, 2005 6:40 am Post subject: |
|
|
Did you set an alias for mv?
Try that should fix the problem (for the current shell), but you'll still need to find out why the problem occured. Check your ~/.bashrc file for an alias that you may have set.
If you're sure you didn't set an alias, then do you have any friends with local access that may have done it as a joke? If not try emerging and running chkrootkit to check for signs of being rooted. _________________ What is the best [insert-type-of-program-here]? |
|
Back to top |
|
|
nugenth n00b
Joined: 26 Sep 2004 Posts: 8
|
Posted: Sun May 15, 2005 2:59 pm Post subject: |
|
|
Yup, brain fart.
I couldn't remember where to check for an alias. RM and MV where aliased to 'RM -i'. I probably meant to map MV to "MV -i".
Thanks. |
|
Back to top |
|
|
|