Find the answer to your Linux question:
Results 1 to 3 of 3
I am searching for a file common_functions.ksh . I am now currently in the directory /home/ERP Under this there are few directories but i don't know where is that file. ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jun 2010
    Posts
    3

    Using find command


    I am searching for a file common_functions.ksh.
    I am now currently in the directory /home/ERP
    Under this there are few directories but i don't know where is that file. Could anyone tell me how to find that using the find command.
    Also suggest some place where i could get good tutorials for the basic commands with good examples.

  2. #2
    Linux Engineer hazel's Avatar
    Join Date
    May 2004
    Location
    Harrow, UK
    Posts
    1,206
    I don't blame you for being confused about find. It's a very complex command. But finding a file by name is simple.
    Code:
    find -name "common_functions.ksh"
    This will only work if the file really does come under your home directory. If the file is not a very new one, a simpler way is to use the locate command, which will find it anywhere on the system.
    "I'm just a little old lady; don't try to dazzle me with jargon!"
    www.hrussman.entadsl.com

  3. #3
    Just Joined!
    Join Date
    Feb 2006
    Posts
    13
    athabascau.ca/html/depts/compserv/webunit/HOWTO/find.htm
    hope this might help

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •