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!
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
Control, as in the key labelled ctrl. There should be no need for a text editor to use this for anything, and so nano using control+key combinations in my opinion is a superior method then say vi's. Hit i to insert then escape to enter in things like ":w". or ":q!".
I am not arguing that vi doesn't do more. I am just saying that way nano uses control +key is a superior method. Also if you need to create a new line in nano, you go to where you want the line and just hit return. Using putty highlighting the text copies (admit-ably if it's larger then the terminal window in either width or height this will be an issue) and use right click to paste. Putty can do searches with ^w.
I am not arguing that vi doesn't do more. I am just saying that way nano uses control +key is a superior method.
*cough cough* I am not arguing on a function by function argument, I am simply saying that if you can do control +key then this method appears very much superior. It's easier to learn and use in my opinion. If somebody wants to go out and make more control +key methods... well up to them.
Last edited by r3sistance; 08-07-2010 at 09:17 AM.
If you are pressing them in an awkward fashion then you likely are not doing it right... there is two control keys for a reason after all and we all have two hands. When it comes to Text Editors I generally just prefer nano from the fact it does what I need it too. I am not after anything more complicated, I want it easy and simple... if I wanted something more complicated I'd use something more advanced like open office writer or I would do it on my machines and just SCP it up to the server.
vi's mode concept certainly is hard to grasp at first. For me, the key was to recognize that the command mode is the "base mode", the one you work from, and that editing text is simply one of the commands you can issue from it. You don't have hotkeys tacked on to an editor, you have text editing built into a powerful command interface.
I found this page especially helpful in grasping it's power.
Yes, one of the main steps for me toward understanding vi was to realize that you are supposed to mainly stay in command mode and only go into insert mode when you want to add some new text. Before I just stayed in insert mode all the time using the arrow keys to move around, and only went to command mode to save and then get right back into insert mode.
So basically you should edit and move in command mode, and add new text in insert mode.
This is actually a reason I am going to say Vi(m) is not notepad like (even tho it pre-dates notepad), because notepad isn't about breaking around several modes, it's just about simple text editing what Nano is far more suited for. Also notepad uses Control+Key combinations IE ^C copy, ^V paste... actually thinking about it, I wonder why no there are not any text editors that do try to be a bit more like notepad in that department, since it does pretty much everything a text editor needs in a very efficient way that can on the main part easily work in a console...