tail -1000000 process.log | grep 'PROCESSING N' | cut -d: -f2 | sort | uniq -c
Bash On Groupping with stats
by Elij,
November 01, 2008 18:29
#!/bin/bash printf '%s\t%s\n' "$(date)" "$*" >> ~/progress/progress.txt
Bash On store string from terminal ...
by Chris Jester-Young,
July 08, 2008 11:36
Here's a one-liner (excludi...
Bash On store string from terminal ...
by Eineki,
July 08, 2008 06:09
Why don't you use the comma...
kill -HUP $(cat /var/run/nginx.pid)
Bash On kill nginx master proces
by Oscar Carlsson,
June 29, 2008 12:15
This is how I restart my ng...
pkill "nginx: master"
Bash On kill nginx master proces
by Marco Valtas,
June 28, 2008 04:13
In Linux check the "pkill" ...
killall nginx
SCRIPT="gen_${1}.sql"
echo "--gen_${1}.sql" > $SCRIPT
...
counter=$(expr $(wc -l $SCRIPT | cut -f1 -d\ ) - 1)
Bash On Slow bash for loop.
by Andrew Gilmartin,
February 11, 2008 16:34
The only bash change I woul...
LINES=$(grep "^D|4|" $1)
Bash On Slow bash for loop.
by pascal.charest,
February 08, 2008 05:23
Not sure you'll get that gr...
Bash On Open a new tab in current d...
by macournoyer,
October 10, 2007 12:25
great idea Marco, indeed it...
tab() ...
Bash On Open a new tab in current d...
by Marco Valtas,
October 10, 2007 05:00
Macournoyer, I tried your f...

It's straight forward to do...