Host File & iTunes Problem

Maiden24

macrumors newbie
Original poster
Sep 6, 2010
22
0
So far i am loving lion. I have two problems though,
first is that i want to open up my host files with this command in terminal and it isn't working


sudo /Applications/TextEdit.app/Contents/MacOS/TextEdit /etc/hosts
How do i open up the host files like i did in snow leopard? That command worked in sl.

Also, i had backed up all my music in iTunes, by going to file library and burn to disc or something like that. I put my first dvd in and it says would you like to restore blah blah, i hit restore and after disc 1 it says something about click ok to continue and then i insert disc 2 and hit okay a bar shows and just goes and doesn't stop. What is the best way to restore my music back to my library??

When i open up text edit if i right click on it, it shows a list of opened text edit files, how can i get to how it was in sl where i just open one and then i quit and that's it.

Thanks Guys
 

GoKyu

macrumors 65816
Feb 15, 2007
1,155
18
New Orleans
Even quicker, since you're using Terminal anyway:

Code:
sudo nano /etc/hosts
Nano is a great command line full screen editor (clone of Pico, the editor from the PINE mailer on *NIX systems)

When you're finished editing, just hit control-X to save and quit.
 
Comment

Maiden24

macrumors newbie
Original poster
Sep 6, 2010
22
0
okay thanks gokyu, is there another way or this is the way from now on??
thanks
 
Comment
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.