View Full Version : [ubuntu] saving changes made in conf files
spab
August 31st, 2009, 03:27 PM
:confused:i just installed ubuntu and i need to fix my sound but i cant find out how to save changes made in conf files using the terminal.
thx a lot
drs305
August 31st, 2009, 03:31 PM
The files are probably owned by root. In this case, you must edit them while having admin rights. This means opening your editor with either "sudo" for terminal operations or "gksudo" for graphical apps such as gedit.
Example:
gksudo gedit /path/filename
sudo nano /path/filename
See this link for a reference on the subject:
RootSudo (https://help.ubuntu.com/community/RootSudo)
cranecreek
September 1st, 2009, 01:07 AM
This is how i do it:
sudo -iThen cd to where the file is:
vi filenameedit the conf, when finished:
:wqyour favorite editor may differ
Powered by vBulletin® Version 4.2.2 Copyright © 2024 vBulletin Solutions, Inc. All rights reserved.