Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then 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.
Hi, this is almost a philisophical question, but here goes:
I'm taking a C programming class (in the UNIX environment), and my prof recommended that we use vi as our editor. When i started using linux, i used vi, but switched to pico. When I started the class, i tried a few different editors, and decided I would use jedit.
Do you guys think it is worth it for me to learn vi at this point? It IS the year 2004, and I know that vi is really powerful, but do you think it is worth it for me to learn it, as opposed to, say, jedit?
Not knowing much about jedit, the only thing I can really tell you is that it almost never hurts to know about different editors. vi and Emacs are the two most common in the *NIX world, so knowing the ins-and-outs of at least one of these will make sure that no matter where you go you'll be well versed in something that's available on whatever host machine you're working with.
I also know little about jedit...actually I've never heard of it...
Adding to what has been said, can jedit be used in a command line interface?
It's extremely handy to be able to use a powerful editor which doesn't depend on GUI, since you may find yourself in a situation where that GUI is broken or otherwise not available.
BTW, I don't believe that editing text is something that is greatly affected by the calendar....vi(m) is as useful today as it was in the "ancient" times.
Hopefully you have vim, and you can run "vimtutor". It is pretty nice and will quickly teach you some powerful things.
You will probably appreciate syntax highlighting and/or paren matching and stuff like that. If you put more time into it, you will learn that you can do just about anything with vi. At a bare minimum, I suggest learning how to do regex search & replace some day.
My first impression of vi from years ago was that it was a pile of crap and it was totally annoying. Today I find what's truly annoying is to be left without all the powerful tools and techniques that vi gives you. Like many things in unix, it is harder to learn but actually easier to use because of all the power and flexibility it gives you.
I thought the same thing some time ago, and started using xemacs, a more familiar gui editor. I then started doing some sysadmin work and was forced to use vi and found it very useful. I now work as developer on a hardware product and the only editor we have on our "Developer Build", is vi, so vi is every where and it good to know if only kjhl i. I guess I am just echoing the above comments but, it is always good to learn, if only for the sake of learning.
I was in the same situation years ago. Some professor with bad 70s hair telling us that this crazy vi editor from the dinosaur ages was useful.
Now gvim (graphical vi improved) is all I'll edit with.
My tip for a vi newbie: use ctrl+[ (that is, with the ctrl key held down, pressing the "[" key) instead of the "Esc" key for switching into command mode. That way, your hands never have to leave the home position.
Originally posted by Tyir It IS the year 2004, and I know that vi is really powerful, but do you think it is worth it for me to learn it, as opposed to, say, jedit?
what difference does it make if it's 2004 or 1974? vi(m) is an amazingly powerful editor and you should definitely use it. once you get used to it and configure it the way you like, you'll find that programming is a lot nicer and faster.