sh fsuse >dfs.txt fsusage=$(grep "/" fs.txt|awk {'print $3'}) for fsu in $fsusage do echo "The Fs usage for the following FS's is more $fsu" done rm dfs.txt