Second sys_check Run

The following example shows the second run of the script. It checks for differences in the baseline file created by the first run (shown in the previous code) and enables the user to view the differences between the baseline file and the current set of output generated by a run of the script in a view session:

 # ./sys_check # Begin second run #======================================================================== 1 ====COMMAND=======: # /bin/date 2>&1 #======================================================================== #1 Sat Nov 25 14:30:54 EST 2000 #======================================================================== 2 ====COMMAND=======: # /bin/date "+%Z" 2>&1 #======================================================================== ...

Get Korn Shell Programming by Example now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.