Date: Tue, 15 Jun 1999 11:09:55 -0700 (PDT) From: <kip@lyris.com> To: Dag-Erling Smorgrav <des@flood.ping.uio.no> Cc: chad@DCFinc.com, nick@kolia.north.gencon.com, freebsd-stable@FreeBSD.ORG Subject: Re: open files Message-ID: <Pine.SOL.4.05.9906151058580.17109-100000@luna> In-Reply-To: <xzpemjeeyyj.fsf@flood.ping.uio.no>
next in thread | previous in thread | raw e-mail | index | archive | help
find . -name "*" | xargs grep "SYSCTL\." and find . -name "*" | xargs grep "SYSCTL\.*maxfiles" don't find anything, just searching for SYSCTL ends up searching through binaries. -Kip On 15 Jun 1999, Dag-Erling Smorgrav wrote: > kip@lyris.com writes: > > I am sorry, but I don't see any files in there other than Makefile. When I > > grep down the hierarchy for kern.maxfiles I eventually get "/usr/bin/grep: > > Argument list too long". Is there a specific file somewhere in there? > > No. Don't use glob patterns; use find and xargs. And don't grep for > 'kern.maxfiles', but for 'SYSCTL.*maxfiles'. > > DES > -- > Dag-Erling Smorgrav - des@flood.ping.uio.no > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-stable" in the body of the message > > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.SOL.4.05.9906151058580.17109-100000>