Editing configuration files
Colin Law
clanlaw at gmail.com
Fri Nov 23 18:41:10 UTC 2018
On Fri, 23 Nov 2018, 18:35 Bret Busby <bret.busby at gmail.com wrote:
> On 24/11/2018, Ian Bruntlett <ian.bruntlett at gmail.com> wrote:
> > Hi All,
> >
> > What is the preferred way to edit text configuration files that require
> > root access?
> >
> > For example, I would normally use emacs to edit /etc/default/grub
> >
> > TIA,
> >
> >
> > Ian
> >
>
> Have you tried
> sudo vi <filename>
> ?
>
Or nano. It would be nice if there were a GUI editor that could edit root
owned files.
Colin
> --
>
> Bret Busby
> Armadale
> West Australia
>
> ..............
>
> "So once you do know what the question actually is,
> you'll know what the answer means."
> - Deep Thought,
> Chapter 28 of Book 1 of
> "The Hitchhiker's Guide to the Galaxy:
> A Trilogy In Four Parts",
> written by Douglas Adams,
> published by Pan Books, 1992
>
> ....................................................
>
> --
> ubuntu-users mailing list
> ubuntu-users at lists.ubuntu.com
> Modify settings or unsubscribe at:
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20181123/0c02f2d6/attachment.html>
More information about the ubuntu-users
mailing list