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.
what console text file editor is recomended for a n00bie? I have read a bit on linux and vi and emacs come to mind but after starting vi I didn't know what to do, after starting emacs I couldn't even figure out how to exit!
I am not command line impaired, I use it quite often, in windows. So I am messing with linux (redhat9) and just to get started I need to edit config files, which I don't want to have to log into an X session to do. I am doing it via ssh from a remote machine. So for quick text file edits, what other options are there? or do I need to take the time to learn vi now? I eventually plan to, but to get started I was hoping there was something simpler, like the old DOS edit program. That way I can get right into the thick of it instead of learning to use a text editor first.
well, my suggestion is: learn a little bit "vi" (how to insert/delete/save file/quit without saving), but don't use it! My favourite is "mcedit", the editor of "mc", the "Midnight Commander". You can use it without learning it before!
what console text file editor is recomended for a n00bie? I have read a bit on linux and vi and emacs come to mind but after starting vi I didn't know what to do, after starting emacs I couldn't even figure out how to exit!
well if you managed to exit vi then you're halfway there
vi is fantastic - learn to use that - and once you get the hang of it you will wonder how you ever *ever* used anything else. there are excellent tutorials and documents out there, like others suggested.
Basically you can use as many or as few of its features as you want to... but the power *is* there... and if you ever find yourself thinking "wouldn't it be nifty if it could..." then it probably can.
plus vi is installed on everything. period. emacs isn't... nor is nano etc... one day it might be the only way to edit a text file on a system you happen to be on. then you will be glad you learned it.
one last tip - make sure it's ViM that you have installed (latest version is 6.2 or so I think), and don't run it in unix compatability mode - because it sucks and you will hate it
A tip: Don't listen to anyone who tells you what text editor to use. Just check them all out until you find the one that best suits your needs. This is one of those eternally raging disputes that means absolutely jack.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.