linux find help - Fedora Support Forums and Community
Results 1 to 3 of 3
  1. #1
    Join Date
    Jan 2011

    linux find help

    I am trying to find "php.ini". So I do the command:

    find / "php.ini" 2>/dev/null
    It is giving me thousands of files that do not contain "php.ini". What am I doing wrong?

  2. #2
    Join Date
    Oct 2010

    Re: linux find help

    The command should have been
    find / -name "php.ini"
    What you did was tell find to files in the directories / and php.ini. The second probably doesn't exist in the current directory, but the first will find everything.

    User error. Please replace user and try again

  3. #3
    Join Date
    Jun 2005
    Montreal, Que, Canada

    Re: linux find help

    sudo find / -name "php.ini" -print
    Leslie in Montreal

    Interesting web sites list

Similar Threads

  1. Where to find /lib/
    By 001Canada in forum Using Fedora
    Replies: 1
    Last Post: 14th September 2010, 05:44 AM
  2. cant find linux drivers
    By AdamS in forum Using Fedora
    Replies: 15
    Last Post: 13th February 2008, 06:15 AM
  3. cant find /linux/config.h
    By mjr in forum Using Fedora
    Replies: 6
    Last Post: 24th November 2007, 10:27 PM
  4. where to find linux- FC7 sources
    By jainraje in forum Using Fedora
    Replies: 6
    Last Post: 2nd August 2007, 12:19 AM
  5. Where to find Linux Kernels?
    By Vansolrick in forum Using Fedora
    Replies: 3
    Last Post: 21st April 2007, 08:12 PM

Posting Permissions

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