
{"id":7855,"date":"2012-11-08T19:17:31","date_gmt":"2012-11-08T19:17:31","guid":{"rendered":"http:\/\/www.beautifulwork.org\/?p=7855"},"modified":"2012-11-08T19:17:31","modified_gmt":"2012-11-08T19:17:31","slug":"bash_aliases-tinkering","status":"publish","type":"post","link":"https:\/\/www.trueangle.org\/index.php\/2012\/11\/08\/bash_aliases-tinkering\/","title":{"rendered":"BASH_ALIASES tinkering"},"content":{"rendered":"<h4><u>commandline session<\/u><\/h4>\n<pre>\n$ 4.2.36 6 506---&gt; echo $BASH_ALIASES\n\n$ 4.2.36 7 507---&gt; echo ${BASH_ALIASES[0]}\n\n$ 4.2.36 8 508---&gt; echo ${BASH_ALIASES[1]}\n\n$ 4.2.36 9 509---&gt; echo ${BASH_ALIASES[2]}\n\n$ 4.2.36 10 510---&gt; alias lst ls\nbash: alias: lst: not found\nbash: alias: ls: not found\n$ 4.2.36 11 511---&gt; alias ls lst\nbash: alias: ls: not found\nbash: alias: lst: not found\n$ 4.2.36 12 512---&gt; alias \/bin\/ls\nls     lsblk  lsmod\n$ 4.2.36 12 512---&gt; alias \/bin\/ls\nls     lsblk  lsmod\n$ 4.2.36 12 512---&gt; alias \/bin\/ls lst\nbash: alias: \/bin\/ls: not found\nbash: alias: lst: not found\n$ 4.2.36 13 513---&gt; alias test=\/usr\/bin\/io\nionice  iostat\n$ 4.2.36 13 513---&gt; alias test=\/usr\/bin\/iostat\n$ 4.2.36 14 514---&gt; test\nLinux 3.2.0-3-amd64 (debian) \tFriday 09 November 2012 \t_x86_64_\t(1 CPU)\n\navg-cpu:  %user   %nice %system %iowait  %steal   %idle\n          19.07    0.12    4.94    3.26    0.00   72.61\n\nDevice:            tps    kB_read\/s    kB_wrtn\/s    kB_read    kB_wrtn\nsda              13.67       103.73        55.99    1929671    1041664\n\n$ 4.2.36 15 515---&gt; echo ${BASH_ALIASES[0]}\n\n$ 4.2.36 16 516---&gt; echo ${BASH_ALIASES[1]}\n\n$ 4.2.36 17 517---&gt; echo ${BASH_ALIASES[2]}\n\n$ 4.2.36 18 518---&gt; echo ${BASH_ALIASES[3]}\n\n$ 4.2.36 19 519---&gt; echo $BASH_ALIASES\n\n$ 4.2.36 20 520---&gt;\n\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>commandline session $ 4.2.36 6 506&#8212;&gt; echo $BASH_ALIASES $ 4.2.36 7 507&#8212;&gt; echo ${BASH_ALIASES[0]} $ 4.2.36 8 508&#8212;&gt; echo ${BASH_ALIASES[1]} $ 4.2.36 9 509&#8212;&gt; echo ${BASH_ALIASES[2]} $ 4.2.36 10 510&#8212;&gt; alias lst ls bash: alias: lst: not found bash: alias: ls: not found $ 4.2.36 11 511&#8212;&gt; alias ls lst bash: alias: ls: not found &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/www.trueangle.org\/index.php\/2012\/11\/08\/bash_aliases-tinkering\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;BASH_ALIASES tinkering&#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\/7855"}],"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=7855"}],"version-history":[{"count":0,"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/posts\/7855\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/media?parent=7855"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/categories?post=7855"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/tags?post=7855"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}