PDA

View Full Version : [SOLVED] Editing config files



xworld
April 20th, 2012, 06:11 AM
Hello, I am attempting to configure privoxy on ubuntu 12.04. Apparently I'm suppose to use
$ sudo vi /etc/privoxy/config
When I enter that in the terminal it opens up the config file. I am supposed to append
forward-socks4a / 127.0.0.1:9050 .
To the config file. However I am not really sure how to do this. I figured it was going to be simply copying and pasting it into the file and then save. I am not sure where to put it. Also I paste it in to the terminal but I can't save and close it. Any ideas?

Thanks

darkod
April 20th, 2012, 08:32 AM
vi is a bit complicated editor, especially for first time users. Try nano.
sudo nano ......

You can move the cursor with the arrows and add/remove what you need.

When you are done, you save the file with Ctrl + O, change the name (or just hit Enter to save with same name, like in most cases you would), and Ctrl + X to exit nano.

See if that's easier.

xworld
April 21st, 2012, 08:32 PM
Thanks a bunch