208
Administering [email protected]/DOS
To view a file that you are not grepping, such as GREP.MAN, which
explains how to use the Grep utility, type the following at the
C:\AMANDA> prompt:
less grep.man
Displaying the Last n Lines of Text Files
The Tail utility displays the last
n
lines in a text file, with a default of 10
lines.
Syntax:
tail [-n] filename
To display the last 20 lines of a file:
•
Type the following at the C:\AMANDA> prompt:
tail -20 filename
Performing Operations at Shutdown
As Amanda performs an automatic shutdown, she runs the
SHUTDOWN.BAT file. For a new installation, this file is composed of
commented-out DOS commands and does nothing. Change it to fit any
customized operations, such as defragmenting or backing up the hard drive,
that you do routinely. SHUTDOWN.BAT contains the following lines:
@ECHO OFF
rem
rem Put your own customized operations for automatic shutdown here.
rem You may run backup jobs, disk defragmentation jobs or other tasks
rem of your own choosing.
rem
rem You may call other batch files from here, but you MUST USE THE CALL
rem command to invoke all other additional batch files, or ELSE YOU WILL
rem NEVER RETURN AND DO THE RESTART.
rem
rem Below are some sample operations to give you ideas.
rem
rem SCANDISK C: /CUSTOM
rem DEFRAG C: /F
rem
rem SCANDISK D: /AUTOFIX /NOSUMMARY
Summary of Contents for [email protected]/DOS
Page 1: ...Administering AmAndA Work Group DOS Version 7 xx Administrator s Guide Edition 7 01...
Page 19: ...Chapter 1 Introducing Amanda 9 Call Processing Diagram...
Page 21: ...Chapter 1 Introducing Amanda 11 Mailbox Processing Diagram...
Page 22: ...12 Administering Amanda Work Group DOS Mailbox Processing Diagram continued...
Page 23: ...Chapter 1 Introducing Amanda 13 Mailbox Processing Diagram continued...
Page 26: ...16 Administering Amanda Work Group DOS...
Page 198: ...188 Administering Amanda Work Group DOS...
Page 208: ...198 Administering Amanda Work Group DOS...
Page 232: ...222 Administering Amanda Work Group DOS...