LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices


Reply
  Search this Thread
Old 04-16-2004, 02:51 AM   #1
vtluu
LQ Newbie
 
Registered: Mar 2004
Location: Vietnam
Posts: 9

Rep: Reputation: 0
Library function to search for files on Linux


Does Linux have any function allowing for searching specified directories for a file with a specified name, just like pathfind() function on Solaris?

Thanks and regards,

Luu Vo.
 
Old 04-16-2004, 02:57 AM   #2
micxz
Senior Member
 
Registered: Sep 2002
Location: CA
Distribution: openSuSE, Cent OS, Slackware
Posts: 1,131

Rep: Reputation: 75
How about ` find ` or ` locate `
 
Old 04-16-2004, 04:31 AM   #3
vtluu
LQ Newbie
 
Registered: Mar 2004
Location: Vietnam
Posts: 9

Original Poster
Rep: Reputation: 0
But I want subroutines (functions), not user commands like find or locate.
Thanks,
Luu Vo.
 
Old 04-16-2004, 01:31 PM   #4
micxz
Senior Member
 
Registered: Sep 2002
Location: CA
Distribution: openSuSE, Cent OS, Slackware
Posts: 1,131

Rep: Reputation: 75
"Linux have any function" I think you need to look at the programming language your working with and each has different way of handling functions for example in bash a function can be created just:
http://www.tldp.org/LDP/abs/html/functions.html
 
  


Reply



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
How to search files in linux using GUI? SAnton Linux - Newbie 3 09-21-2005 09:01 AM
use the search function before asking bosewicht Linux - Newbie 6 08-30-2005 02:34 AM
what is the function library of the basic graphics library in rethat9.0? zerwolve Red Hat 0 04-29-2004 09:18 PM
New search function jeremy LQ Suggestions & Feedback 1 12-11-2002 01:37 PM
The search function should work MUCH better now. jeremy LQ Suggestions & Feedback 0 07-04-2001 12:30 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat

All times are GMT -5. The time now is 07:14 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
Open Source Consulting | Domain Registration