I have the result in below command. They are capacity of drives I want to compare to a threshold value. So I want to compare each line to a specific value. If greater then some condition follows.
df -kP | awk '{print $5}'| sed 's/%//g'|sed -n '1!p' Output of this command is like this :
36 0 19 36 36