
{"id":16439,"date":"2016-02-21T17:59:08","date_gmt":"2016-02-21T17:59:08","guid":{"rendered":"http:\/\/www.beautifulwork.org\/?p=16439"},"modified":"2016-02-21T17:59:08","modified_gmt":"2016-02-21T17:59:08","slug":"sample-interaction-with-bash-shell","status":"publish","type":"post","link":"https:\/\/www.trueangle.org\/index.php\/2016\/02\/21\/sample-interaction-with-bash-shell\/","title":{"rendered":"sample interaction with bash shell from the GNU project"},"content":{"rendered":"<pre>\n$echo $BASH\n\/bin\/bash\n$echo $BASH_\n\n$echo $BASH_v\n\n$echo $BASH_VERSION\n4.3.42(1)-release\n$date || time\nSun Feb 21 23:15:50 IST 2016\n$datei || time\nbash: datei: command not found\n\nreal\t0m0.000s\nuser\t0m0.000s\nsys\t0m0.000s\n$dateno || time\nbash: dateno: command not found\n\nreal\t0m0.000s\nuser\t0m0.000s\nsys\t0m0.000s\n$time  || date\nbash: syntax error near unexpected token `||'\n$time || date\nbash: syntax error near unexpected token `||'\n$time\n\nreal\t0m0.000s\nuser\t0m0.000s\nsys\t0m0.000s\n$time || date\nbash: syntax error near unexpected token `||'\n$`time` || date\n\nreal\t0m0.000s\nuser\t0m0.000s\nsys\t0m0.000s\n$time &amp;&amp;  date\nbash: syntax error near unexpected token `&amp;&amp;'\n$`time` &amp;&amp;  date\n\nreal\t0m0.000s\nuser\t0m0.000s\nsys\t0m0.000s\nSun Feb 21 23:25:24 IST 2016\n$`timei` &amp;&amp;  date\nbash: timei: command not found\n$date  &amp;&amp;  time\nSun Feb 21 23:25:55 IST 2016\n\nreal\t0m0.000s\nuser\t0m0.000s\nsys\t0m0.000s\n$\n\nhttp:\/\/askubuntu.com\/questions\/372926\/bash-syntax-error-near-unexpected-token\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>$echo $BASH \/bin\/bash $echo $BASH_ $echo $BASH_v $echo $BASH_VERSION 4.3.42(1)-release $date || time Sun Feb 21 23:15:50 IST 2016 $datei || time bash: datei: command not found real 0m0.000s user 0m0.000s sys 0m0.000s $dateno || time bash: dateno: command not found real 0m0.000s user 0m0.000s sys 0m0.000s $time || date bash: syntax error near unexpected &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/www.trueangle.org\/index.php\/2016\/02\/21\/sample-interaction-with-bash-shell\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;sample interaction with bash shell from the GNU project&#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":[83],"tags":[1585],"_links":{"self":[{"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/posts\/16439"}],"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=16439"}],"version-history":[{"count":0,"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/posts\/16439\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/media?parent=16439"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/categories?post=16439"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/tags?post=16439"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}