//View Tip #88
» Find function declarations in PHP or JavaScript
» Random password generator.
» Print a random shell-fu tip
» Find occurrences of a string in a large code base without firing
Similar Tips
» Moved Trac and Subversion repositories to another machine/direct» Find function declarations in PHP or JavaScript
» Random password generator.
» Print a random shell-fu tip
» Find occurrences of a string in a large code base without firing
Latest tips by RSS
Click here to subscribe
Follow Shell-Fu on Twitter
Click here to follow
Follow Shell-Fu on identi.ca
Click here to follow
use `grep -o` to select only the pattern matched rather than the whole line:
grep -o 'GET [^ ]\+ ' /var/log/httpd_access.log | sort | uniq -c | sort -n | head -n 100 > top100
Comments
Add your comment
Comments are currently disabled
No Comments

