From owner-freebsd-questions@FreeBSD.ORG Thu Jun 26 19:14:48 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 087F937B401 for ; Thu, 26 Jun 2003 19:14:48 -0700 (PDT) Received: from adsl-64-161-78-226.dsl.lsan03.pacbell.net (adsl-64-161-78-226.dsl.lsan03.pacbell.net [64.161.78.226]) by mx1.FreeBSD.org (Postfix) with SMTP id 57FCF43FB1 for ; Thu, 26 Jun 2003 19:14:47 -0700 (PDT) (envelope-from oremanj@adsl-64-161-78-226.dsl.lsan03.pacbell.net) Received: (qmail 33379 invoked by uid 1001); 27 Jun 2003 02:17:30 -0000 Date: Thu, 26 Jun 2003 19:17:30 -0700 From: Joshua Oreman To: "Kevin Kinsey, DaleCo, S.P." Message-ID: <20030627021729.GA32791@webserver.get-linux.org> References: <001901c33c50$563d8b30$3f41d5cc@nitanjared> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <001901c33c50$563d8b30$3f41d5cc@nitanjared> User-Agent: Mutt/1.4.1i cc: questions@freebsd.org Subject: Re: Obvious 'Doh!'? find vs. diff.... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Jun 2003 02:14:48 -0000 Easy on the send button! On Thu, Jun 26, 2003 at 09:03:41PM -0500 or thereabouts, Kevin Kinsey, DaleCo, S.P. wrote: > [/usr/src] [19:57] > #find / -name "GENERIC" -print > /usr/src/sys/alpha/conf/GENERIC > /usr/src/sys/i386/conf/GENERIC > /usr/src/sys/i386/GENERIC > /usr/src/sys/pc98/conf/GENERIC > /usr/obj/usr/src/sys/GENERIC > > [/usr/src] [19:57] > #diff /usr/obj/usr/src/sys/GENERIC /usr/src/sys/i386/GENERIC > diff: /usr/obj/usr/src/sys/GENERIC/GENERIC: No such file or directory /usr/obj/usr/src/sys/GENERIC is probably a directory. The `find' command you want is: #find /usr/src /usr/obj -name GENERIC -type f -print `-type f' restricts it to files. -- Josh > > ??? > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"