260 likes | 464 Views
2. Lesson. The vi Editor. 3. Objectives. Describe an ASCII text fileExplain why operating system editors use ASCII filesCreate and edit simple documents using the vi editor. 4. Understanding UNIX Files. Almost everything you create in UNIX is stored in a fileAll information stored in files is
E N D
1. The UNIX Editors
2. 2 Lesson The vi Editor
3. 3 Objectives Describe an ASCII text file
Explain why operating system editors use ASCII files
Create and edit simple documents using the vi editor
4. 4 Understanding UNIX Files Almost everything you create in UNIX is stored in a file
All information stored in files is in the form of binary digits
Binary digits are also known as bits
Bits have two states: 1 (on) and 0 (off)
0’s and 1’s as a way to communicate with a computer is known as machine language
5. 5 Understanding UNIX Files Machine language (or bit combinations) is translated into plain English using ASCII
ASCII stands for American Standard Code for Information Interchange
ASCII uses a byte (a string of 8 bits) to represent keyboard characters such as letters and numbers
Text files contain printable, ASCII characters
Binary files contain nonprintable characters, or machine language
6. 6