Re: Want some info about find command
- From: liddlemeister@xxxxxxxxx
- Date: 3 Apr 2007 19:57:34 -0700
On Apr 3, 4:39 am, "Jitu" <jitendra.mis...@xxxxxxxxx> wrote:
Hi All,
I have little idea about "find" command. find searches for files/
folders recursively as all we know.
But my question is "is there any way by which we can restrict the
recursive search"??? Can we find for the files in the current
directory.
Thanks in advance guys..
I know i will get some answers in few moments.. :-)
Let's say you're in the directory you want to find the file in the
directory you are in...
Why wouldn't you just ls -al filename ?
I use this find if you're looking for the file called 'data' :
find / -name data -print
That will start at root and look everywhere.
If you use:
find . -name -print
It will only look in the parent and childreen of the directory you are
in.
Hope this helps.
Tom
.
- References:
- Want some info about find command
- From: Jitu
- Want some info about find command
- Prev by Date: mounting and unmounting SAN
- Next by Date: Re: SunRay install problem on B55 [SOLVED]
- Previous by thread: Re: Want some info about find command
- Next by thread: Fish
- Index(es):
Relevant Pages
|