Help - Search - Members - Calendar
Full Version: Find File(s) In Console ...
Linuxhelp > Support > Technical Support
how do I search for files in linux?

I assumed:
ls gcc* -R

but that doesn't work. Mandrake (7?)

damn C compiler isn't in my path, so I can't run a configure script dry.gif
If you are using KDE, KFind is installed on most distros. I have not used Mandrake 7, so it may not be there. The command line command is slocate. Try man slocate, that should get you going.
by use of the find command ... in it's basic form, it is :

find [start_point] -name 'filename' ...

so in your case:

find / -name 'gcc*'

but are you sure you even have gcc installed (have you ever compiled packages before on this install)?

The command to see if gcc is installed is :

rpm -q gcc
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2018 Invision Power Services, Inc.