| OS X - Operating System General OS operation information and support |
| Post Reply | New Thread | Subscribe |
|
|
Thread Tools |
![]() Member Since: Aug 27, 2009
Posts: 2
![]() |
Hello!
In a vague attempt at accessing youtube from Turkey, which currently has a ban of sorts going on the site, I entered the following commands in a terminal window after finding it as a possible solution on slashdot.org: sudo bash echo "208.65.153.253 www.youtube.com" >> /etc/hosts This sort of fixed my problem whilst in Turkey, but now that I'm out of the country and in a place where freedom of expression and information is (in appearance at least) better protected, I find myself unable to access youtube in any way through Safari. So the question, in a nutshell, is: how do I backtrack on the command I entered previously? ie. : how do I erase whatever modification it may have made? Any answers appreciated, I'm unix illiterate ![]() Cheers! |
| QUOTE Thanks | |
![]() Member Since: Dec 20, 2006
Location: Middletown, Pennsylvania
Posts: 25,951
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Mac Specs: 15" MBP, Core i7/2GHz, 8GB RAM, 256GB Crucial M4 SSD
|
You just need to edit your hosts file.
Here's how I'd do it: Open up Terminal and type: sudo pico /etc/hosts That will open up a relatively easy to use text editor and allow you to remove the entry (just delete the entire line that your edit is on). When you're done, hit Control-X, 'Y' to save changes and then type exit at the prompt. That's all there is to it. Liquid and computers don't mix. It might seem simple, but we see an incredible amount of people post here about spills. Keep drinks and other liquids away from your expensive electronics! |
| QUOTE Thanks | |
| Post Reply | New Thread | Subscribe |
| Thread Tools | |
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
|
|
|
|
|||||||
Thread |
Thread Starter |
Forum |
Replies |
Last Post |
| Use Applescript to run a terminal command | Turk182 | OS X - Development and Darwin | 1 | 02-12-2009 12:08 PM |
| Terminal - Missing command prompt | AR3Y35 | OS X - Operating System | 16 | 02-09-2009 07:59 AM |
| Terminal command question | MACGIRL34 | OS X - Operating System | 1 | 12-12-2007 04:26 PM |
| Creating an application to run a terminal command on startup? | Starky | OS X - Apps and Games | 7 | 11-26-2007 11:57 PM |
| looking for a terminal emulator and command shell in Mac OSX | CandiMarie | OS X - Operating System | 9 | 03-05-2004 03:53 PM |
All times are GMT -4. The time now is 07:07 AM.
Powered by vBulletin