
{"id":16479,"date":"2016-04-22T17:26:26","date_gmt":"2016-04-22T17:26:26","guid":{"rendered":"http:\/\/www.beautifulwork.org\/?p=16479"},"modified":"2016-04-22T17:26:26","modified_gmt":"2016-04-22T17:26:26","slug":"sample-session-related-to-command-expansion-in-bash-shell","status":"publish","type":"post","link":"https:\/\/www.trueangle.org\/index.php\/2016\/04\/22\/sample-session-related-to-command-expansion-in-bash-shell\/","title":{"rendered":"sample session related to &#8220;command expansion&#8221; in Bash shell"},"content":{"rendered":"<pre>\n$a=`time`\n\nreal\t0m0.000s\nuser\t0m0.000s\nsys\t0m0.000s\n$a\nbash: a: command not found\n$a=`ls`\n$a\nbash: a: command not found\n$echo a\na\n$echo $a\na.txt b.txt trueangle\n$echo `a`\nbash: a: command not found\n\n$a=`ls`\n$b=time\n$echo $b\ntime\n$b=`time`\n\nreal\t0m0.000s\nuser\t0m0.000s\nsys\t0m0.000s\n$echo $b\n\n$b=`time`\n\nreal\t0m0.000s\nuser\t0m0.000s\nsys\t0m0.000s\n$echo $b\n\n$b=date\n$echo $b\ndate\n$b=`date`\n$echo $b\nFri Apr 22 22:50:27 IST 2016\n$\n\n\nhttp:\/\/mywiki.wooledge.org\/BashFAQ\/032\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>$a=`time` real 0m0.000s user 0m0.000s sys 0m0.000s $a bash: a: command not found $a=`ls` $a bash: a: command not found $echo a a $echo $a a.txt b.txt trueangle $echo `a` bash: a: command not found $a=`ls` $b=time $echo $b time $b=`time` real 0m0.000s user 0m0.000s sys 0m0.000s $echo $b $b=`time` real 0m0.000s user 0m0.000s sys &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/www.trueangle.org\/index.php\/2016\/04\/22\/sample-session-related-to-command-expansion-in-bash-shell\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;sample session related to &#8220;command expansion&#8221; in Bash shell&#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":[83],"tags":[559],"_links":{"self":[{"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/posts\/16479"}],"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=16479"}],"version-history":[{"count":0,"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/posts\/16479\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/media?parent=16479"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/categories?post=16479"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/tags?post=16479"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}