stat

Alexander Skwar alexanders.mailinglists+nospam at gmail.com
Wed Apr 27 04:05:21 PDT 2011


Hi!

If it's in /usr/local/bin, then it's most likely NOT from Apple. That
having said, yes, there's a GNU version of stat. It's part of the coreutils
and thus should have a good chance of being available close to
everywhere. I also have it on my Solaris boxes (there it's called gstat).

For the record, on Linux, it'll produce output like this:

--($ ~)-- LC_MESSAGES=C stat Remotedesktop_Settings
  File: `Remotedesktop_Settings' ->
`/home/askwar/ALT-BEHALTEN/Remotedesktop_Settings'
  Size: 48            Blocks: 0          IO Block: 4096   symbolic link
Device: fe02h/65026d    Inode: 81050       Links: 1
Access: (0777/lrwxrwxrwx)  Uid: (10001/  askwar)   Gid: (  100/   users)
Access: 2010-08-13 10:16:23.000000000 +0200
Modify: 2010-08-13 08:21:31.000000000 +0200
Change: 2010-08-13 10:16:23.775347617 +0200
 Birth: -

Regards,

Alexander

On Wed, Apr 27, 2011 at 12:50, David Epstein <David.Epstein at warwick.ac.uk>wrote:

>
> Is there a gnu version of stat? I have a version of stat on my Mac,
> provided
> I suppose by Apple, in /usr/local/bin/stat, but I wanted a version that
> would have a good chance of being available on Linux platforms. I thought
> that a Macports version would most likely be a gnu version, if it exists.
>
> I tried looking for stat in this newsgroup, but there didn't seem to be
> anything appropriate. I also tried port search stat and got lots of
> irrelevant hits. Is there a better way of searching?
>
> Thanks
> David
> --
> View this message in context:
> http://old.nabble.com/stat-tp31486375p31486375.html
> Sent from the MacPorts - Users mailing list archive at Nabble.com.
>
> _______________________________________________
> macports-users mailing list
> macports-users at lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
>



-- 
Alexander
-- 
↯    Lifestream (Twitter, Blog, …) ↣ http://alexs77.soup.io/     ↯
↯ Chat (Jabber/Google Talk) ↣ a.skwar at gmail.com , AIM: alexws77  ↯
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-users/attachments/20110427/98e3fc80/attachment.html>


More information about the macports-users mailing list