Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 1 Nov 1997 18:04:39 +0000
From:      njs3@doc.ic.ac.uk (Niall Smart)
To:        Brandon Gillespie <brandon@roguetrader.com>, Niall Smart <njs3@doc.ic.ac.uk>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: Suggested addition to /etc/security
Message-ID:  <E0xRhuZ-0004BT-00@oak67.doc.ic.ac.uk>
In-Reply-To: Brandon Gillespie <brandon@roguetrader.com> "Re: Suggested addition to /etc/security" (Nov  1, 10:58am)

next in thread | previous in thread | raw e-mail | index | archive | help
On Nov 1, 10:58am, Brandon Gillespie wrote:
> > > find / -nouser -nogroup
> > Shouldn't this be "find / -nouser -o -nogroup -print"?
> Yeah, or even better:
> 
> files=`find / -nouser -o -nogroup -print`
> ls -ldF $files
> 
> (this looks better than find / -nouser -o -nogroup -exec ls -ldF {} \;)

Looks better?  They should produce identical output. "find / -nouser -o
-nogroup -print | xargs -n 30" is more efficient btw :)) however
using -exec with find is othe only one that works with filenames with
embedded spaces.


Niall
,



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E0xRhuZ-0004BT-00>