
{"id":14434,"date":"2013-11-12T17:24:01","date_gmt":"2013-11-12T17:24:01","guid":{"rendered":"http:\/\/www.beautifulwork.org\/?p=14434"},"modified":"2013-11-12T17:24:01","modified_gmt":"2013-11-12T17:24:01","slug":"head-and-tail-command-related","status":"publish","type":"post","link":"https:\/\/www.trueangle.org\/index.php\/2013\/11\/12\/head-and-tail-command-related\/","title":{"rendered":"head and tail Command Related"},"content":{"rendered":"<h4><u>commandline session<\/u><\/h4>\n<p>following session display may not be accurate<\/p>\n<pre>\n$sudo head dmesg\n[    0.000000] Initializing cgroup subsys cpuset\n[    0.000000] Initializing cgroup subsys cpu\n[    0.000000] Linux version 3.2.0-4-amd64 (debian-kernel@lists.debian.org) (gcc version 4.6.3 (Debian 4.6.3-14) ) #1 SMP Debian 3.2.46-1+deb7u1\n[    0.000000] Command line: BOOT_IMAGE=\/boot\/vmlinuz-3.2.0-4-amd64 root=UUID=3219e911-81fb-4d52-ba7c-117a58d09312 ro quiet\n[    0.000000] BIOS-provided physical RAM map:\n[    0.000000]  BIOS-e820: 0000000000000000 - 000000000009e800 (usable)\n[    0.000000]  BIOS-e820: 000000000009e800 - 00000000000a0000 (reserved)\n[    0.000000]  BIOS-e820: 00000000000e0000 - 0000000000100000 (reserved)\n[    0.000000]  BIOS-e820: 0000000000100000 - 000000009e5e7000 (usable)\n[    0.000000]  BIOS-e820: 000000009e5e7000 - 000000009e619000 (reserved)\n$sudo head ls\nhead: cannot open `ls' for reading: No such file or directory\n$sudo head -6 dmesg\n[    0.000000] Initializing cgroup subsys cpuset\n[    0.000000] Initializing cgroup subsys cpu\n[    0.000000] Linux version 3.2.0-4-amd64 (debian-kernel@lists.debian.org) (gcc version 4.6.3 (Debian 4.6.3-14) ) #1 SMP Debian 3.2.46-1+deb7u1\n[    0.000000] Command line: BOOT_IMAGE=\/boot\/vmlinuz-3.2.0-4-amd64 root=UUID=3219e911-81fb-4d52-ba7c-117a58d09312 ro quiet\n[    0.000000] BIOS-provided physical RAM map:\n[    0.000000]  BIOS-e820: 0000000000000000 - 000000000009e800 (usable)\n$sudo head -3 auth.log daemon.log\n==&gt; auth.log  daemon.log &lt;==\nNov 10 20:11:07 debian acpid: starting up with netlink and the input layer\nNov 10 20:11:07 debian acpid: 1 rule loaded\nNov 10 20:11:07 debian acpid: waiting for events: event logging is off\n$tail -f iostat\ntail: cannot open `iostat&#039; for reading: No such file or directory\n$tail -f dmesg\ntail: cannot open `dmesg&#039; for reading: Permission denied\n$sudo tail -f dmesg\n[   14.815581] NET: Registered protocol family 31\n[   14.815587] Bluetooth: HCI device and connection manager initialized\n[   14.815593] Bluetooth: HCI socket layer initialized\n[   14.815603] Bluetooth: L2CAP socket layer initialized\n[   14.815824] Bluetooth: SCO socket layer initialized\n[   14.847521] Bluetooth: RFCOMM TTY layer initialized\n[   14.847531] Bluetooth: RFCOMM socket layer initialized\n[   14.847535] Bluetooth: RFCOMM ver 1.11\n[   14.924529] Bluetooth: BNEP (Ethernet Emulation) ver 1.3\n[   14.924536] Bluetooth: BNEP filters: protocol multicast\n^C$\n\n<\/pre>\n<h4><u>a typical video tutorial related<\/u><\/h4>\n<p>NO WARRANTY<\/p>\n<pre>\n[youtube https:\/\/www.youtube.com\/watch?v=QPT64WvDN-Q?rel=0&w=560&h=315]\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>commandline session following session display may not be accurate $sudo head dmesg [ 0.000000] Initializing cgroup subsys cpuset [ 0.000000] Initializing cgroup subsys cpu [ 0.000000] Linux version 3.2.0-4-amd64 (debian-kernel@lists.debian.org) (gcc version 4.6.3 (Debian 4.6.3-14) ) #1 SMP Debian 3.2.46-1+deb7u1 [ 0.000000] Command line: BOOT_IMAGE=\/boot\/vmlinuz-3.2.0-4-amd64 root=UUID=3219e911-81fb-4d52-ba7c-117a58d09312 ro quiet [ 0.000000] BIOS-provided physical RAM map: [ &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/www.trueangle.org\/index.php\/2013\/11\/12\/head-and-tail-command-related\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;head and tail Command Related&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[832,890,1540],"_links":{"self":[{"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/posts\/14434"}],"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=14434"}],"version-history":[{"count":0,"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/posts\/14434\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/media?parent=14434"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/categories?post=14434"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/tags?post=14434"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}