Introducing UNIX and Linux |
Getting startedOverview |
FilesIn UNIX, you are able to create, delete and edit files, but
before attempting to perform such operations on your files, you may
need to check which files you have at the moment. The command to do
this is
You will need to create and update files containing text (for example, programs written in Java, Pascal or C, or word-processed reports). There are many simple to use editors available, and Windows users will probably be familiar with Microsoft Word and with Notepad. These are fine for modifying small amounts of text, but are cumbersome if large files are involved, or if repeated changes have to be made. We look in this section at editors which are available under UNIX, and which are suitable for heavy use. In particular, we introduce the standard UNIX editor Vi, which may at first sight seem relatively tricky to use. Fear not! The skills you will gain in later chapters will feed back into use of Vi, and allow you to make complex changes to a file quickly and easily. We also discuss the other options available to you if you prefer at this stage to use an editor which is more straightforward for simpler use. |
Copyright © 2002 Mike Joy, Stephen Jarvis and Michael Luck