Hi Bong,
In addition again :
for speeding up your find command try to be more specific :
find . -type f -exec grep string {} \;
If you specify to only grep files, it speeds up definitly. Also redirecting output is one of the standards you have to understand. So therefor a little story
When specify-ing > you say that all output generated should be redirected. By specify-ing > you actualy say 1>. As you are telling only standard output to be redirected.
You have :
0 --> Standard input
1 --> Standard output
2 --> Standard error
So to make things a bit more complicated :
ls -l /tmp 1> /tmp/output 2>/dev/null
Standard output is written to a file and standard Error is being thrown away (/dev/null is a kind of paper.bin)
ls -l 1>> /tmp/output 2>&1
Standard output is appended to a file and standard error is redirected to standard output.
Good luck.
Regs David