[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: simple problem



Paul Akkermans wrote:

Hi group,
I am trying to find a specific function/procedure in the kernel 2.6.7 kernel source. But the problem is that there are so many files I have to search through that it could take hours to find this procedure. Isn't there an easier way to do this with some sort of application? Can anybody help me? Thanks in advance, Paul Akkermans

You could use grep to do this.
For instance if you wanted to search for printf, sprintf and the likes in the kernel source dir: grep "printf" -R /usr/src/linux where -R means to recursivly go through the subdirectories.

Regards,
Benedict



Reply to: