
{"id":6590,"date":"2012-01-05T15:57:18","date_gmt":"2012-01-05T15:57:18","guid":{"rendered":"http:\/\/www.beautifulwork.org\/?p=6590"},"modified":"2012-01-05T15:57:18","modified_gmt":"2012-01-05T15:57:18","slug":"file-command-ver-0-0001","status":"publish","type":"post","link":"https:\/\/www.trueangle.org\/index.php\/2012\/01\/05\/file-command-ver-0-0001\/","title":{"rendered":"file command  Ver 0.0001"},"content":{"rendered":"<h4><u> UNIX Command <\/u><\/h4>\n<pre>\n$file vmlinuz-3.1.0-1-amd64\nvmlinuz-3.1.0-1-amd64: Linux kernel x86 boot executable bzImage, version 3.1.0-1-amd64 (unknown@Debian) #1 SMP Tue Nov 29 13:47:12 UTC 2, RO-rootFS, swap_dev 0x2, Normal VGA\n$\n\n<\/pre>\n<p><\/p>\n<h4><u> UNIX Explanation <\/u><\/h4>\n<pre>\nfile tests each  argument in an attempt to  classify it.  There are\nthree  sets of tests,  performed in  this order:  filesystem tests,\nmagic  tests, and  language tests.   The first  test  that succeeds\ncauses the file type to be printed.\n\n<\/pre>\n<p><\/p>\n<h4><u> Theory Drop .  magic number <\/u><\/h4>\n<pre>\nA constant numerical  or text value used to  identify a file format\nor protocol.\n\nsource : http:\/\/en.wikipedia.org\/wiki\/Magic_number_(programming)\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>UNIX Command $file vmlinuz-3.1.0-1-amd64 vmlinuz-3.1.0-1-amd64: Linux kernel x86 boot executable bzImage, version 3.1.0-1-amd64 (unknown@Debian) #1 SMP Tue Nov 29 13:47:12 UTC 2, RO-rootFS, swap_dev 0x2, Normal VGA $ UNIX Explanation file tests each argument in an attempt to classify it. There are three sets of tests, performed in this order: filesystem tests, magic tests, and &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/www.trueangle.org\/index.php\/2012\/01\/05\/file-command-ver-0-0001\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;file command  Ver 0.0001&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[],"_links":{"self":[{"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/posts\/6590"}],"collection":[{"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/comments?post=6590"}],"version-history":[{"count":0,"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/posts\/6590\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/media?parent=6590"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/categories?post=6590"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/tags?post=6590"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}