Date: Sun, 15 Sep 2002 21:17:20 -0700 (PDT) From: "M.T." <mbsd@pacbell.net> To: Alex Teslik <alex@acatysmoof.com> Cc: freebsd-questions@freebsd.org Subject: Re: IRIX-style stat command for files? Message-ID: <20020915211422.D306-100000@atlas.home> In-Reply-To: <20020916032916.M6706@acatysmoof.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 15 Sep 2002, Alex Teslik wrote: > Hello, > > This is such a lame question, but I can't find the answer to save my life. > I'm looking for a command that will display the change time, access time, and > creation time of a file as well as its inode information and such (at the same > time, not like "ls -i"). IRIX has the very nice stat command for this, but I > can't find the FreeBSD equivelent...all I can find is reference for a bunch of > C-style structs and calls. On -stable, maybe /usr/ports/sysutils/stat (try "pkg_add -r stat") will do what you want. On -current, there already is a "stat" command. I don't know if either of these matches the IRIX one, but they do dump information obtained with stat(2). Then there is always perl, of course... :-) $.02, /Mikko 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?20020915211422.D306-100000>