Summary

team bbl


Text files are files that contain only text characters, with no formatting information. HTML files, program source code, and many Linux configuration files are text files. Although you can edit text files with a word processor, it's generally simpler to use a text editoran application that has only the features necessary to edit text.

This chapter provides instructions for using two editors: Kate, a GUI editor; and vi, a command-line editor. Instructions are provided for basic editing, such as deleting and inserting text. Some features useful for programmers are also described.

Kate is very similar to Notepad. Editing in Kate will feel familiar to Windows users. The methods of inserting, deleting, opening files, and saving files are similar. vi, however, is a command-line editor. Its procedures for inserting, deleting, and other editing of text will be new to many users. Because it's more unfamiliar, a sample editing session is provided for vi.

One type of text file that you create and edit with a text editor is a program or script. Each line is an instruction to be executed by the computer. A useful type of script is a shell script. You can write a script that contains Linux commands, executed one by one when the script is run. Chapter 19 describes how to write shell scripts.

    team bbl



    Spring Into Linux
    Spring Into Linux
    ISBN: 0131853546
    EAN: 2147483647
    Year: 2005
    Pages: 362
    Authors: Janet Valade

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