Chapter 10: Using Utilities
207
Displaying Text Files (20 Lines at a Time)
The Less utility displays a text file on the screen, 20 lines at a time. This
utility is similar to the MORE command in DOS, but with many additional
features.
Syntax:
less filename
You can move around in the file:
•
Use Page Up and Page Down to scroll through the file
•
Use Up Arrow and Down Arrow to move from line to line
•
To view an additional line, press Enter
•
To view the next 20 lines, press the spacebar or Page Down
•
To search forward for a string of characters
,
type
/string
•
To search backward for a string of characters, type
?string
•
For Help, press H
•
To Quit, press Q
The Less utility is often used with the Grep utility. For instance, if you have
a very large TRACE.OUT file, and you are interested in only the activity on
Port 1, you could
filter
the TRACE file with Grep and then page through the
results with Less.
At the C:\AMANDA> prompt, type:
grep "ichan_01" trace.out | less
To write the file to a dif-
ferent file name
Ctrl+X Ctrl+W
To exit
Ctrl+X Ctrl+C
JOVE Commands (Continued)
Action
Command
Содержание [email protected]/DOS
Страница 1: ...Administering AmAndA Work Group DOS Version 7 xx Administrator s Guide Edition 7 01...
Страница 19: ...Chapter 1 Introducing Amanda 9 Call Processing Diagram...
Страница 21: ...Chapter 1 Introducing Amanda 11 Mailbox Processing Diagram...
Страница 22: ...12 Administering Amanda Work Group DOS Mailbox Processing Diagram continued...
Страница 23: ...Chapter 1 Introducing Amanda 13 Mailbox Processing Diagram continued...
Страница 26: ...16 Administering Amanda Work Group DOS...
Страница 198: ...188 Administering Amanda Work Group DOS...
Страница 208: ...198 Administering Amanda Work Group DOS...
Страница 228: ...218 Administering Amanda Work Group DOS Mailbox Purpose Master Copy Make copies of this sheet prior to filling it out...
Страница 232: ...222 Administering Amanda Work Group DOS...
Страница 248: ...238 Administering Amanda Work Group DOS...