[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: How to modify xorg.conf from command line in rescue console (F7)

On Sat, 2007-09-01 at 16:50 +0200, Bo Berglund wrote:
> Detailed instructions on how to start a command line editor for this
> file would be appreciated as well as how to save and exit from it. 

And to provide a third alternative...  ;-)   Which might be necessary,
if joe or emacs aren't already installed, and if you can't manage to
install either of them.  vi is probably installed by default.  You'd
start it with the vi command and the filepath/filename.

e.g. vi /etc/X11/xorg.conf

Hit the insert key to start inserting text wherever the cursor is (it
starts up in a reading mode).  Type what you want to do to the file.
Hit escape to get out of the editing mode.  Then colon w q <enter> to
write (w) your changes, and (q) quit the program.  e.g. :wq

[tim bigblack ~]$ uname -ipr i686 i386

Using FC 4, 5, 6 & 7, plus CentOS 5.  Today, it's FC7.

Don't send private replies to my address, the mailbox is ignored.
I read messages from the public lists.

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]