Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have installed squid proxy server and I want to edit the squid.conf file with gedit. I dont want to use vi editor. Can it be possible?

share|improve this question

If you have GUI , then you can use

gksu gedit <path to your file>

If its a server with no GUI then you can use nano .

sudo nano <path to your file name>

Gedit is one of the GUI editor and nano is one of the CLI editor.

share|improve this answer
    
thank you for your help – igtm Mar 5 '13 at 16:53

Go to the folder containing the file and run gedit squid.conf or alternatively run gksu gedit squid.conf to run it with super user privileges.

share|improve this answer
    
thank you for your help – igtm Mar 5 '13 at 16:54
2  
You're welcome. Please accept the answer that has answer to the question (Jai's is the superior answer here). – Frederik Spang Mar 5 '13 at 17:46

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.