5

Help echo | sed > file

view full story
linux-howto

http://www.unix.com – Hello, I am trying to build a very compact script for monitoring FS. I am stuck in a very simple problem (see code comment). Please for your help Code: SERVER_NAME=`uname -n` SCRIPT_DIR=/export/home/scripts/fs_mon4 FLAG_DIR=${SCRIPT_DIR}/flags TEMP_DIR=${SCRIPT_DIR}/tmp FS[1]="\/$" FS[2]="\/devices$" FS[3]="\/system\/contract$" FS[4]="\/proc$" FS[5]="\/etc\/mnttab$" FS[6]="\/etc\/svc\/volatile$" FS[7]="\/system\/object$" FS[8]="\/etc\/dfs\/sharetab$" FS[9]="\/dev\/fd$" FS[10]="\/var$" FS[ (HowTos)