Search the Site:

How to Locate a Specific File or Files on a UNIX Server

I wish to know how can I locate a specific file or files on a unix server.

Re: How to Locate a Specific File or Files on a UNIX Server

You may use the find command.

find <location> <-name "pattern">

The parameter location specifies which directory to search in. To search in the present directory use '.' (dot) without quotes.

The parameter pattern can contain wildcards. Having the pattern as "nibbleguru" will only search for files/ folders named exactly "nibbleguru" where have having the pattern as "nibble*" will search any filename beginning with the word "nibble".

Post new comment

The content of this field is kept private and will not be shown publicly.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <i> <object> <param> <embed> <blockquote>
  • Lines and paragraphs break automatically.
  • Web page addresses and e-mail addresses turn into links automatically.

2 Steps to Post a New Problem

2 Steps to Post a New Problem

Register
Login
Post New Problem

DISCLAIMER: The content on the site has been submitted by the users. NibbleGuru.com has no responsibility other than in removing material from the website when we have been notified of a copyright violation. Notify here.