cut -f 2 -d ' ' delimitor is a space, get the second column
AWK
ps aux | awk '{print $2}' prints the second column onlyawk '$1 ~ /2001-01-28/, $1 ~ /2003-01=30/' file The file would contain dates in the first column and this greps everything between these two dates.