LinuxLinks.com
Newbies What Next ? News Forums Calendar

Search





News Sections
Home
General News (3972/0)
Reviews (626/0)
Press Releases (464/0)
Distributions (187/0)
Software (807/0)
Hardware (522/0)
Security (192/0)
Tutorials (337/0)
Off Topic (180/0)


User Functions
Username:

Password:

Don't have an account yet? Sign up as a New User


Events
There are no upcoming events



CLI Magic: An introduction to CLI editors   
Monday, April 11 2005 @ 05:12 PM EDT
Contributed by: glosser

Linux.com continues their Command Line Interface series with an introduction to text editors available in GNU/Linux.

At some point in your GNU/Linux or BSD adventures, you're going to have to use a command-line text editor. Some of them are pretty easy to use but have few features. Others are powerful but require a study session with the tutorial file to learn how to operate them. Most often you just need a text editor to edit a couple of config files and don't want to spend 45 minutes working through a tutorial. How about a crash course to get you going?

All text editors share two common qualities: they will open a file if you type its path and name in after the program name, and they will reserve changing the file until you tell it to. So to edit your /etc/shells file with any of the editors in this article, you'd type something like this:

nano /etc/shells

or if you're already in the /etc directory, you can forgo the path:

nano shells

Once in the editor, none of your changes will be applied until you save the file. If you try to quit before you've saved the file, the editor will usually ask you if you want to save it first.

The easy ones

Full tutorial

  [ Views: 1433 ]  


CLI Magic: An introduction to CLI editors | 0 comments | Create New Account
The following comments are owned by whoever posted them. This site is not responsible for what they say.
No user comments.


What's Related
  • Full tutorial
  • More by glosser
  • More from Tutorials


  • Story Options
  • Mail Story to a Friend
  • Printable Story Format


  • We have written a range of guides highlighting excellent free books for popular programming languages. Check out the following guides: C, C++, C#, Java, JavaScript, CoffeeScript, HTML, Python, Ruby, Perl, Haskell, PHP, Lisp, R, Prolog, Scala, Scheme, and SQL.

    Built with GeekLog and phpBB
    Comments to the webmaster are welcome
    Copyright 2009 LinuxLinks.com - All rights reserved