Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I changed my video card driver in the config file but something went wrong, so now when I boot X won't start. So I have to change the config file again here comes my question; Witch command do i have to use to open it. And what command do I need to save it. Thanks..
If you have GNU Emacs installed, try typing 'emacs' in the console and it will start.
Then, type C-x C-f (that is, Control-X then Control-F) and write the path to the config file (usually /etc/XF86Config). Emacs will open it. Then edit what you need to. When you're done, type C-x C-s and Emacs will save it. Then type C-x C-c to exit.
If you don't have Emacs installed, I'm sorry because I don't know how to use vi.
I Don't believe I have installed Emacs..
I'm even sure I didn't..
There is a very simple command for it but I forgot; such as edit in DOS only for Linux
hai, i hope that will work in fedora core
but not sure...if that worked use the command to save it
1)after open the file press i to edit the lines.
2)after editing,press ESC and then give the colen( i mean use shift semicolen.
3)type wq for save that file..
VI/VIM and Emacs should be installed on most distros by default, so hopefully the commands will work. If the editors are not there, you can always use alternatives like PICO/NANO.
Originally posted by bruse hai, i hope that will work in fedora core
but not sure...if that worked use the command to save it
1)after open the file press i to edit the lines.
2)after editing,press ESC and then give the colen( i mean use shift semicolen.
3)type wq for save that file..
Also, Nano/Pico are somewhat easier to use than vi(m). You have the commands shown in the lower part of the screen, keyboard shortcuts like Ctrl-X are represented by '^X'.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.