cd /
find -iname 'my.file.name*'
find accepts many switches but here are some useful ones to get you started:
find -name '*gz'
will find all files ending with 'gz' - case sensitive
ie file.gz is listed, but file.Gz is not
find -iname 'GetMyFile'
will find all files named 'getmyfile' - case insensitive
ie getmyfile is listed, as is GetMyFile and getMYfile etc
find -iname '*jpg' -exec mv {} '/newdir/pics' \;
finds all jpg files and mv's them to /newdir/pics
NOTE: anything between -exec and \; can be executed on all files found (one
at a time). Using this method, the current file name is reffered to as {}.
The find command searches recursively down through your dirs (default) and
lists verbosely all files that match the criteria specified.
read the manpage (man find) for more info...
hope this helps...
ice9
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Jon Dowd
> Sent: Tuesday, September 15, 1998 1:15 AM
> To: [EMAIL PROTECTED]
> Cc: [EMAIL PROTECTED]
> Subject: navigating a directory
>
>
> Hello, I'm new and have a RedHat 5.1Linux system installed (feat!).
> I want to use X-ISP to make the ppp connection to my isp and need to
> have a libforms file installed (libforms.so.088* [ ? ] ) I can login
> to ftp.redhat.com with minicom and get rpms IF I can find what
> I'm looking for when I get there.
> Question : Is there a better search tool I can use than cd / ls ?
> and specifically in what directory will I find the
> libform thing ?
> Thank you
>
>
> Jon Dowd - Ashland, Oregon USA
> [EMAIL PROTECTED]
> http://www.angelfire.com/or/LindaJesseJonDee/JonDee.html
> Thank you
> for letting me
> rearrange
> the magnetic structure of your hard drive.
>
> ( I'm a SLY fan ! ) ! : - )
>