grep '' | wc -l "threshold" code example Example: greater than certain value from pipe shell | awk -F: '{if($2>10)print$2}'