Home > OS >  Linux Shell script loop output digital string to a file, and occasionally, the phenomenon of the fil
Linux Shell script loop output digital string to a file, and occasionally, the phenomenon of the fil

Time:05-01

For ((n=1; $com<$modelcommandnum; N++))
Do
Ausearch - I - k ${key [0]} | grep -n 'proctitle=| awk -f ":"' {print $5} '| awk -f ") "'} {print $1 & gt;/TMP/alog
Array=($(awk '{print $1}'/TMP/alog))
Arraynum=${# array/@}

The done





Could you tell me how to get each file won't appear the phenomenon of no content
  • Related