Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 3 Jul 2000 20:25:30 +0100 (BST)
From:      Jan Grant <Jan.Grant@bristol.ac.uk>
To:        R Joseph Wright <rjoseph@mammalia.org>
Cc:        Jan Grant <Jan.Grant@bristol.ac.uk>, freebsd-questions@FreeBSD.org
Subject:   find syntax was: Inodes and filenames
Message-ID:  <Pine.GHP.4.21.0007032024190.1302-100000@mail.ilrt.bris.ac.uk>
In-Reply-To: <20000703101323.A84689@manatee.mammalia.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 3 Jul 2000, R Joseph Wright wrote:

> On Mon, Jul 03, 2000 at 12:46:31PM +0100, Jan Grant wrote:
> > If you know _one_ of the filenames, then ls -l will list the reference
> > count of the inode. For normal files, this is the number you're looking
> > for.
> > 
> > Otherwise, like Mac said,
> > 
> > 	find -x /fs -inum nnn
> 
> It seems like I _have_ to use the -x option, otherwise I get an error like: 
> 
> find: illegal option --i
> find: illegal option --n
> find: illegal option --u
> find: illegal option --m

man find

Find takes options, then directories to search, then an
expression. Mac's first example left out the /fs.


-- 
jan grant, ILRT, University of Bristol. http://www.ilrt.bris.ac.uk/
Tel +44(0)117 9287163 Fax +44 (0)117 9287112 RFC822 jan.grant@bris.ac.uk
Ceci n'est pas une pipe |



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.GHP.4.21.0007032024190.1302-100000>