Security Consulting
  Unix Administration     Firewall     Intrusion Detection     Network Security     Hacking     MORE     HOME    

Tools

CUT

    cut -f 2 -d ' ' delimitor is a space, get the second column

AWK

    ps aux | awk '{print $2}' prints the second column only
    awk '$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.

SED




CopyLeft (l) 2003 by Raffael Marty