{"id":392,"date":"2005-04-15T15:08:00","date_gmt":"2005-04-15T05:08:00","guid":{"rendered":"http:\/\/www.flamingspork.com\/blog\/?p=392"},"modified":"2005-04-15T15:08:00","modified_gmt":"2005-04-15T05:08:00","slug":"stillhqcom-stat-on-the-command-line","status":"publish","type":"post","link":"https:\/\/www.flamingspork.com\/blog\/2005\/04\/15\/stillhqcom-stat-on-the-command-line\/","title":{"rendered":"stillhq.com &#8211; Stat on the command line"},"content":{"rendered":"<p><a href=\"http:\/\/www.stillhq.com\/linux\/000034.html\">stillhq.com &#8211; Stat on the command line<\/a><\/p>\n<p>So Michael pointed out there is one&#8230;. in recent versions of coreutils at least.<\/p>\n<p>(umm&#8230; yeah&#8230; that&#8217;s a good excuse. no <b>really<\/b>)<\/p>\n<p>I should retitle previous entry to something like:<br \/>\never wanted \/usr\/bin\/stat on an older system?<\/p>\n<p>The copyright for \/usr\/bin\/stat is 2004 &#8211; so i guess my perl is still good for pre 2004 distros (*cough* a debian release *cough*)<\/p>\n","protected":false},"excerpt":{"rendered":"<p>stillhq.com &#8211; Stat on the command line So Michael pointed out there is one&#8230;. in recent versions of coreutils at least. (umm&#8230; yeah&#8230; that&#8217;s a good excuse. no really) I should retitle previous entry to something like: ever wanted \/usr\/bin\/stat &hellip; <a href=\"https:\/\/www.flamingspork.com\/blog\/2005\/04\/15\/stillhqcom-stat-on-the-command-line\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[2],"tags":[],"class_list":["post-392","post","type-post","status-publish","format-standard","hentry","category-life-the-universe-and-everything"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p5a6n8-6k","jetpack-related-posts":[{"id":391,"url":"https:\/\/www.flamingspork.com\/blog\/2005\/04\/14\/binstat\/","url_meta":{"origin":392,"position":0},"title":"~\/bin\/stat","author":"Stewart Smith","date":"2005-04-14","format":false,"excerpt":"What have you always wanted on the command line? stat? i: hear; you cry! (insert more [silly] {punctuation} around 'ere!) I present, to you, my ~\/bin\/stat #!\/usr\/bin\/perl use POSIX qw(strftime); my $FORMAT=\"%H:%M %a, %e %b %y\"; foreach(@ARGV) { my ($dev,$ino,$mode,$nlink,$uid,$gid,$rdev,$size, $atime,$mtime,$ctime,$blksize,$blocks) = stat($_); print $_.\"\\n\"; print \"Dev: $dev\\n\"; print \"inode:\u2026","rel":"","context":"In &quot;General&quot;","block_context":{"text":"General","link":"https:\/\/www.flamingspork.com\/blog\/category\/general\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":460,"url":"https:\/\/www.flamingspork.com\/blog\/2005\/08\/30\/stillhqcom-let-the-apple-service-ranting-continue\/","url_meta":{"origin":392,"position":1},"title":"stillhq.com &#8211; Let the Apple service ranting continue","author":"Stewart Smith","date":"2005-08-30","format":false,"excerpt":"stillhq.com - Let the Apple service ranting continue (with link to APC mag) These seem to be more extreme than what I've experienced. I should say, that when I have had service done (when there's not parts coming from sydney or general slowness) it's been a seemless 1-day affair with\u2026","rel":"","context":"In &quot;life, the universe and everything&quot;","block_context":{"text":"life, the universe and everything","link":"https:\/\/www.flamingspork.com\/blog\/category\/life-the-universe-and-everything\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":684,"url":"https:\/\/www.flamingspork.com\/blog\/2006\/04\/27\/mr-stillhqcom-doesnt-like-sea-urchin\/","url_meta":{"origin":392,"position":2},"title":"Mr Stillhq.com doesn&#8217;t like Sea urchin","author":"Stewart Smith","date":"2006-04-27","format":false,"excerpt":"so he remembers","rel":"","context":"In &quot;linux-aus&quot;","block_context":{"text":"linux-aus","link":"https:\/\/www.flamingspork.com\/blog\/category\/linux-aus\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":459,"url":"https:\/\/www.flamingspork.com\/blog\/2005\/08\/29\/stillhqcom-did-i-mention-that-apple-service-sucks\/","url_meta":{"origin":392,"position":3},"title":"stillhq.com &#8211; Did I mention that Apple service sucks?","author":"Stewart Smith","date":"2005-08-29","format":false,"excerpt":"stillhq.com - Did I mention that Apple service sucks? I totally empathise with Mikal on this one. My adventures with Apple service has been interesting. Although I've usually gotten better result out of being persistent and a giant pain in the arse (I honestly feel sorry for anyone who gets\u2026","rel":"","context":"In &quot;life, the universe and everything&quot;","block_context":{"text":"life, the universe and everything","link":"https:\/\/www.flamingspork.com\/blog\/category\/life-the-universe-and-everything\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":416,"url":"https:\/\/www.flamingspork.com\/blog\/2005\/05\/31\/blog-spam\/","url_meta":{"origin":392,"position":4},"title":"blog spam","author":"Stewart Smith","date":"2005-05-31","format":false,"excerpt":"Mikal laments about the evils of blog spam - stillhq.com - Blog spam continued. Let me let all of you non-wordpress using people (who have comments enabled) know that you have been living in sin! Yes, there is an answer to all your problems. I've been running the HashCash extenstion\u2026","rel":"","context":"In &quot;website&quot;","block_context":{"text":"website","link":"https:\/\/www.flamingspork.com\/blog\/category\/website\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":389,"url":"https:\/\/www.flamingspork.com\/blog\/2005\/04\/12\/theraputic-beer\/","url_meta":{"origin":392,"position":5},"title":"Theraputic Beer","author":"Stewart Smith","date":"2005-04-12","format":false,"excerpt":"Totally not the topic of the blog entry, but anyway: Over at stillhq.com - Blogging methods there is a mention of Theraputic Beer. I totally agree. Where the oath is mine? It's in the fridge. Why isn't it here? wait...it's now in the freezer. WHEN OH WHEN ARE THEY GOING\u2026","rel":"","context":"In &quot;life, the universe and everything&quot;","block_context":{"text":"life, the universe and everything","link":"https:\/\/www.flamingspork.com\/blog\/category\/life-the-universe-and-everything\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"jetpack_likes_enabled":true,"_links":{"self":[{"href":"https:\/\/www.flamingspork.com\/blog\/wp-json\/wp\/v2\/posts\/392","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.flamingspork.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.flamingspork.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.flamingspork.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.flamingspork.com\/blog\/wp-json\/wp\/v2\/comments?post=392"}],"version-history":[{"count":0,"href":"https:\/\/www.flamingspork.com\/blog\/wp-json\/wp\/v2\/posts\/392\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.flamingspork.com\/blog\/wp-json\/wp\/v2\/media?parent=392"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.flamingspork.com\/blog\/wp-json\/wp\/v2\/categories?post=392"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.flamingspork.com\/blog\/wp-json\/wp\/v2\/tags?post=392"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}