1. w -h -i | grep 'pts/' | awk '{ if(NF>=8){ print $5 } }' | grep -E '(^[0-9].*[0-9]s$)|([1-4]:[1-9]{1,2}$)'