Cisco Systems 1.0 (1) Manual De Usuario

Descargar
Página de 291
Cisco Support Tools 1.0 User Guide 
How to Use the Diff Utility   218 
How to Use the Diff Utility 
Use the Diff utility to find differences between two text files. 
To Access Diff from the Dashboard 
To run Diff from the Support Tools Dashboard: 
1.  Use the System Select screen to select the system you want to work with. 
2.  From the Dashboard menu, select Common Tools > Diff. 
3.  In the Arguments field, enter desired arguments, as described in the Using 
section below.  
Note: When entering arguments, the Diff command is already implied. Do not 
enter it in the Arguments field. 
4.  Specify the command duration time or accept the default (60 seconds). This is 
the amount of time the command will attempt to run before terminating.  
5.  If desired, check Elevate Command Priority. This ensures the command will run 
regardless of the level of server activity. 
6.  Click the Run button. 
Using Diff 
Syntax 
diff [ -rebidtvo? ] [-O <colors>] oldfile newfile
 
If diff is given two directories, it will diff each of the files in those directories. 
If diff is given two binary files, it will compare them and issue a report if they are 
different. 
If diff is given the -r option, it will recursively diff each of the files in each 
subdirectory. 
If diff is given the -e option, it will output a script suitable for feeding into EDLIN to 
update oldfile to create newfile. 
Otherwise, diff outputs lines of the form: