//View Tip #260
Similar Tips
» Kill matching processes
» Crawl a web page for links
» Sort the lines of a file by length
» Counts files in the current directory and subdirectory
» Actively Monitor a File


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

file -N * | awk -F":" '{type[$2]++}END{ for (i in type) print type[i],i }'

View Comments »


Add your comment

Comments are currently disabled
Comment #2 is incorrect, please ignore it.
Posted 2010-03-24 12:14:01

Home Latest Browse Top 25 Random Hall Of Fame Contact Submit