write a file to etc folder
John Scott
fyrbrds at netscape.net
Tue Nov 3 14:37:15 UTC 2009
-----Original Message-----
From: NoOp <glgxg at sbcglobal.net>
To: ubuntu-users at lists.ubuntu.com
Sent: Tue, Nov 3, 2009 3:24 am
Subject: Re: write a file to etc folder
On 11/02/2009 05:18 PM, John Scott wrote:
>
> And it should definitely be said that absolutely NOTHING in the /etc
> folder should EVER be modified without a backup copy to fall back on.
> Especially if you wouldn't know how to use vi after booting to a
> command prompt to edit the file manually.
>
> Regards,
>
> John
>The good bit about using 'gksu gedit <file>' and or the nautilus admin
>right-click option is that gedit will automatically create a <~file>
>backup file. So, if for instance you edit /etc/apt/sources.list via
>those methods, you will have a /etc/apt/~sources.list file as a backup.
Most of the gui editors make auto backups. You only have to rely on one
time where you edited say, your xorg.conf then noticed you forgot a #
before a comment or made some other modification. As soon as you hit
that save button a second time, you no longer have an original copy.
Then you try to revert to your xorg.conf backup only to find that it is
the last of 6 versions, none of which will work. Guess what, you're
screwed. Make a backup before you start--one that will not be
overwritten by the editor. Accept NO substitute. Being lazy and letting
the editor do it for you will lead to pain. I am speaking from
experience.
Regards,
John
--
ubuntu-users mailing list
ubuntu-users at lists.ubuntu.com
Modify settings or unsubscribe at:
https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
More information about the ubuntu-users
mailing list