Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

delude

macrumors 6502
Original poster
Dec 27, 2007
458
34
UK
I was trying to add wget to terminal...and now I get:

Code:
-bash: unalias: wget=curl -O: not found

I've removed the wget stuff now using '/usr/local/share/wget/uninstall-wget.pl' but what can I do to get rid of this message?

thanks
 
Yes I do. Thanks for the quick reply :)


You will need to remove that line from your bashrc.

In Terminal type:

Code:
nano ~/.bashrc

And remove the lines that refer to wget.

This could be in bash_profile, if you don't find any lines referencing wget in bashrc try

Code:
nano ~/.bash_profile
 
You will need to remove that line from your bashrc.

In Terminal type:

Code:
nano ~/.bashrc

And remove the lines that refer to wget.

Sorry, I'm a real noob to terminal. There aren't any lines when I type 'nano ~/.bashrc', it's just blank, do I need to type something else in?
 
That just means there is nothing in the file. Type Control + X to exit.

Read my edit above and try that one.
 
That just means there is nothing in the file. Type Control + X to exit.

Read my edit above and try that one.

Okay, I've deleted the lines but now I have this at the bottom:


File Name to Write: /Users/James/.bash_profile
^G Get Help ^T To Files M-M Mac Format M-P Prepend
^C Cancel M-D DOS Format M-A Append M-B Backup File

Seems like you found it though, thanks so much!
 
It sounds like you hit Control + O already, now hit Enter/Return.

Then type Control + X to exit.
 
It sounds like you hit Control + O already, now hit Enter/Return.

Then type Control + X to exit.

Awesome! Looks likes it's fixed now, thanks so much :)

I really appreciate the almost instant responses!
 
Awesome! Looks likes it's fixed now, thanks so much :)

I really appreciate the almost instant responses!

Good timing on your part, my internet connection went down for about 30 minutes right after my last response! Stupid comcast...

Glad it is working for you now.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.