The most useful command that i’ve ever used is GREP, this command will help
you locate anything on your unix system and display the results in a output
designated by you. It’s the best…therefore of late being stuck with some limitations
in doing things manually to locate certain files in unix which i’m still learning.
I finally found this script of the net & it helped a tonne: will post it
here for future reference:
du -hc * | sort -n | grep "[0-9]M" | tail
The code above helps to search through the files in specified folder
& display the files in order or smallest size in MB to the largest.
Thank God for grep




2 users commented in " Grep - Unix Command "
Follow-up comment rss or Leave a Trackbackgrep??? urrghhh, unix, why am i in software line…. hahaha…. *ignore my mindless blab*..
hahhaha,yes i think u shouldnt be in the software line….u look so blur lo…hahhaha
Leave A Reply