{"id":16982,"date":"2023-11-05T16:42:32","date_gmt":"2023-11-05T16:42:32","guid":{"rendered":"https:\/\/www.appservgrid.com\/paw92\/?p=16982"},"modified":"2023-11-05T16:52:46","modified_gmt":"2023-11-05T16:52:46","slug":"simple-trick-to-use-terminal-window","status":"publish","type":"post","link":"https:\/\/www.appservgrid.com\/paw92\/index.php\/2023\/11\/05\/simple-trick-to-use-terminal-window\/","title":{"rendered":"Simple trick to use terminal window to see all PATH variable."},"content":{"rendered":"\n<p>If you&#8217;re having trouble reading the directories in the $PATH variable, you can make use of the tr command to replace the colons with the newline characters so each directory is displayed on a single line.<br><br><strong>$ echo $PATH | tr &#8220;:&#8221; &#8220;\\n&#8221;<\/strong><br><br>Here is an example.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/media.licdn.com\/dms\/image\/D4D22AQHvpBa364hX5w\/feedshare-shrink_800\/0\/1699193058576?e=1701907200&amp;v=beta&amp;t=lIxPdU1OYxCy8aW-ZmVmwYzBH_yyATEkATjQlYCA8qo\" alt=\"Image preview\"\/><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>If you&#8217;re having trouble reading the directories in the $PATH variable, you can make use of the tr command to replace the colons with the newline characters so each directory is displayed on a single line. $ echo $PATH | tr &#8220;:&#8221; &#8220;\\n&#8221; Here is an example.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-16982","post","type-post","status-publish","format-standard","hentry","category-linux"],"_links":{"self":[{"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/posts\/16982","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/comments?post=16982"}],"version-history":[{"count":4,"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/posts\/16982\/revisions"}],"predecessor-version":[{"id":16986,"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/posts\/16982\/revisions\/16986"}],"wp:attachment":[{"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/media?parent=16982"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/categories?post=16982"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/tags?post=16982"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}