Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Brain fart or hacked?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
nugenth
n00b
n00b


Joined: 26 Sep 2004
Posts: 8

PostPosted: Sun May 15, 2005 6:25 am    Post subject: Brain fart or hacked? Reply with quote

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
View user's profile Send private message
Given M. Sur
l33t
l33t


Joined: 03 Feb 2004
Posts: 648
Location: No such file or directory

PostPosted: Sun May 15, 2005 6:40 am    Post subject: Reply with quote

Did you set an alias for mv?

Try
Code:
unalias mv
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
View user's profile Send private message
nugenth
n00b
n00b


Joined: 26 Sep 2004
Posts: 8

PostPosted: Sun May 15, 2005 2:59 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum