LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-05-2003, 02:44 AM   #1
talkinggoat
Member
 
Registered: Sep 2003
Location: lafayette, la
Distribution: RHL 6.2, FC 3, Ubuntu 14.04, Ubuntu 16.04
Posts: 112

Rep: Reputation: 15
find command


when using the find command, i type in :

find / "HOWTO"

this works fine as long as the string is in the directory that i tell it to search in, but if the file is somewhere else, it won't find it. so if i put HOWTO into the /etc directory, and do a search from /, it won't find it... it will if i am in /etc, though. how do i make it look further than just the directory that i am in?
 
Old 10-05-2003, 02:48 AM   #2
joesbox
Member
 
Registered: Feb 2003
Location: hampton va
Distribution: ubuntu
Posts: 502

Rep: Reputation: 30
http://www.die.net/doc/linux/man/man1/find.1.html
i don't know the answer but a quick google found this.
you might even have it on you puter. just type in a terminal
Code:
man find
 
Old 10-05-2003, 02:53 AM   #3
talkinggoat
Member
 
Registered: Sep 2003
Location: lafayette, la
Distribution: RHL 6.2, FC 3, Ubuntu 14.04, Ubuntu 16.04
Posts: 112

Original Poster
Rep: Reputation: 15
right... did that allready. the command simply states

find [path] [expression]

what i want to know is is there any other way to find a file... any better way or command, or what is the answer to my previous question? i usualy learn better from example, not the text book, anyway... thanks for that response, though...
 
Old 10-05-2003, 02:53 AM   #4
ehdwuld
Member
 
Registered: Jul 2003
Distribution: Currently Suse 11.1 but have RH7,8,9 / Fedora 7,8_64,9_64,&10_64
Posts: 634

Rep: Reputation: 30
try
open terminal

$ locate <name>
$ whereis <name>
$ which <name>
 
Old 10-05-2003, 03:04 AM   #5
talkinggoat
Member
 
Registered: Sep 2003
Location: lafayette, la
Distribution: RHL 6.2, FC 3, Ubuntu 14.04, Ubuntu 16.04
Posts: 112

Original Poster
Rep: Reputation: 15
thanks ehdwuld that worked great! appreciate the help...
 
  


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
Find/grep command to find matching files, print filename, then print matching content stefanlasiewski Programming 9 06-30-2016 06:30 PM
find command jch02140 Linux - Newbie 2 07-19-2005 01:21 AM
The find command Gins Linux - General 32 06-12-2005 03:20 PM
What is the FIND command Mic Q SUSE / openSUSE 1 04-07-2005 10:08 AM
find command... ultima Linux - Newbie 2 05-20-2004 05:28 AM


All times are GMT -5. The time now is 10:53 PM.

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