Because I always forget this awk command

Oct 22, 2008 22:29

awk -F":" ' $3 < 500 && $3 > 100 ' /etc/passwd | cut -d ':' -f3 > /tmp/ftp_add
A=` sort -g /tmp/ftp_add | tail -1`
A=`expr $A + 1`
rm /tmp/ftp_add

awk

Previous post Next post
Up