[CentralOH] 2013-01-24 無場 Notes: Another uniq Example
jep200404 at columbus.rr.com
jep200404 at columbus.rr.com
Thu Jan 31 05:22:48 CET 2013
On Tue, 29 Jan 2013 04:50:33 -0500, jep200404 at columbus.rr.com wrote:
> ... uniq -c are nice commands
> history | awk '{print $2}' | sort | uniq -c | sort -n -r | head -10
Here's another use of uniq, to condense output from thousands of
boring lines to a few screenfulls.
psql -f /usr/pgsql-8.1/share/contrib/postgis-1.4/postgis.sql -d "$DB_NAME" | uniq -c
More information about the CentralOH
mailing list