finding a file in redhat
I am trying to learn the use the "FIND" command and trying to find the gcc/c++ compiler....how do I do that?
|
Why don't you use slocate, it is faster, easier.
|
If you really love find, try that
Code:
find /usr/bin -name gcc -type f |
you can use "whereis" to look for program files and related stuff in standard locations
|
Quote:
|
which gcc is the fastest way to do it, followed by
locate gcc followed by find / -name gcc :D Anyways if you dont bother so much then its usually /usr/bin/gcc or /bin/gcc Cheers |
thanks guys...I as a 34 year old native american newbie bow before all the linux gods....lol...thanks
|
All times are GMT -5. The time now is 11:01 AM. |