Basic Terminal Command

Asked by nahid hasan on 2012-09-18

In terminal, I opened a configuration file which is under etc/folder/folder. how can i edit and save this file? after saving, how can I go back to the basic terminal?

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu gnome-terminal Edit question
Assignee:
No assignee Edit question
Last query:
2012-09-18
Last reply:
2012-09-18
Warren Hill (warren-hill) said : #1

files under /etc are protected so you need to be carefull about any changes you make or you may cause more problems than you fix

Open a terminal enter

gksudo gedit <file>

Where <file> is the full name of the file including the path.

Edit the file save then close gedit. Job done.

Can you help with this problem?

Provide an answer of your own, or ask nahid hasan for more information if necessary.

To post a message you must log in.