Lesson8.Text Editing


Lesson 8. Text Editing

In this lesson you will learn the basics of editing files at the shell prompt and in the GUI within the Unix environment.

Now that we have discussed the reading of files we need to know how to edit them as well. In this chapter we cover the basics of file editing in two environments: the shell prompt and using the GUI. Editing files is common in any environment. Whether you are an author who has to master text-editing tools or just a novice typing an email, knowing how to edit files is a very important skill to have.

In this chapter we will look at the two most commonly used file-editing programs today within a Unix environment: the vi editor and emacs. The vi editor is used at the shell prompt, and emacs is used within the GUI.

So, now that you know how to read files in many different ways, it's time to learn how to create and edit them using these tools.

Master Your Weapon! It would simply be impossible to cover the endless things that you can do with both programs; they truly are very dense and have a great many tools within them. If you are going to move on and try to master Unix, it may help you to master a text-editing tool because you will find yourself using them a lot in Unix.


In this lesson we will dig as deep as we can into both editors, yet we will still barely skim the surface. We will introduce you to the basics of how to edit files, create them, and save them. We will also cover basic navigation and a few other tips as well.



    SAMS Teach Yourself Unix in 10 Minutes
    Sams Teach Yourself Unix in 10 Minutes (2nd Edition)
    ISBN: 0672327643
    EAN: 2147483647
    Year: 2005
    Pages: 170

    flylib.com © 2008-2017.
    If you may any questions please contact us: flylib@qtcs.net