Unix Tools?

Caporegime
Joined
25 Oct 2002
Posts
30,409
Here's a few that I use:

Code:
awk '{ FS = "DELIMITER" }{ print substr($DELIMETERS,START,LENGTH) }' FILENAME
Code:
ps -eaf | grep hostname| awk '{ print $3 }'
Code:
op | awk '{ print $1 , $10 }' | head -11 | tail -4

And I hate to be the one to say it, but:
Code:
man awk
 
Back
Top Bottom