SI
SI
discoversearch

We've detected that you're using an ad content blocking browser plug-in or feature. Ads provide a critical source of revenue to the continued operation of Silicon Investor.  We ask that you disable ad blocking while on Silicon Investor in the best interests of our community.  If you are not using an ad blocker but are still receiving this message, make sure your browser's tracking protection is set to the 'standard' level.
Pastimes : Linux OS.: Technical questions -- Ignore unavailable to you. Want to Upgrade?


To: E. Charters who wrote (336)11/22/2002 9:39:23 AM
From: Thomas A Watson  Read Replies (1) | Respond to of 484
 
a find of an entire system takes time. Several minutes to fraction of an hour. Once a file containing all is created, a grep takes a fraction of a second. My /allsys file has .8 meg records

find with no options is simple to remember and | grep xxx is the same as -name xxx. As to typing. an up arrow gets last command and then you just add |grep next_filter.

My suggested way is to minimize commands required
find
grep
grep -v the not case
grep -i ignore upper lower case.

I don't use sed, I do use awk, mostly | awk '{print $n}' with the -F to define alternate separator and NF for last arg especially with find awk -F/ '{print NF}' or $NF