LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 11-25-2007, 05:43 PM   #1
Macska
LQ Newbie
 
Registered: Nov 2007
Posts: 7

Rep: Reputation: 0
Searching for a file


Hi,

Is there anyway within the linux kernel to search for a particular filename within a directory? I want to find a file within my system call in namei.c and I am not sure whether or not their is already code within the kernel that could do this for me.

Macska
 
Old 11-25-2007, 06:22 PM   #2
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 740Reputation: 740Reputation: 740Reputation: 740Reputation: 740Reputation: 740Reputation: 740
Not in the kernel, but certainly in the shell:
e.g.:
find
locate
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
awk searching a string from a file within another file changcheh Linux - Software 7 12-29-2006 10:18 AM
searching a file in my hardisk... itz2000 Linux - Newbie 1 10-31-2005 01:45 PM
File Searching gfrair Linux - Newbie 1 03-14-2005 07:24 PM
File Searching JC404 Linux - Newbie 2 08-02-2003 09:45 PM
searching through a file albean Linux - Newbie 8 11-23-2002 09:16 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:10 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration