{"id":2668,"date":"2016-02-29T01:18:26","date_gmt":"2016-02-29T06:18:26","guid":{"rendered":"http:\/\/microdevsys.com\/wp\/?p=2668"},"modified":"2016-05-29T15:12:58","modified_gmt":"2016-05-29T19:12:58","slug":"modify-or-set-aix-prompt","status":"publish","type":"post","link":"https:\/\/microdevsys.com\/wp\/modify-or-set-aix-prompt\/","title":{"rendered":"Modify or Set AIX Prompt"},"content":{"rendered":"<p>\n\tHere&#39;s an example of a clean prompt for use in AIX in a mixed-environment setup:\n<\/p>\n<p style=\"margin-left: 40px;\">\n\t<span style=\"font-family:courier new,courier,monospace;\">PS1=&quot;[ $(uname) $(whoami)@${HOSTNAME}:\\$PWD ] &quot;<br \/>\n\texport PS1<br \/>\n\tset -o vi<\/span>\n<\/p>\n<p>\n\t<span style=\"line-height: 1.6em;\">Looks like this:<\/span>\n<\/p>\n<p style=\"margin-left: 40px;\">\n\t<span style=\"font-family:courier new,courier,monospace;\">[ AIX root@mdsnim01 : guest ]<\/span>\n<\/p>\n<p>\n\tCheers,<br \/>\n\tTK\n<\/p>\n<p>\n\tREF: <a href=\"http:\/\/softpanorama.biz\/Scripting\/Shellorama\/String_operations\/ksh_substitutions.shtml\" rel=\"nofollow external\">Softpanorama KSH Substitutions<\/a><\/p>\n\n    <div class=\"xs_social_share_widget xs_share_url after_content \t\tmain_content  wslu-style-1 wslu-share-box-shaped wslu-fill-colored wslu-none wslu-share-horizontal wslu-theme-font-no wslu-main_content\">\n\n\t\t\n        <ul>\n\t\t\t        <\/ul>\n    <\/div> \n","protected":false},"excerpt":{"rendered":"<p>Here&#39;s an example of a clean prompt for use in AIX in a mixed-environment setup: PS1=&quot;[ $(uname) $(whoami)@${HOSTNAME}:\\$PWD ] &quot; export PS1 set -o vi Looks like this: [ AIX root@mdsnim01 : guest ] Cheers, TK REF: Softpanorama KSH Substitutions<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"_uf_show_specific_survey":0,"_uf_disable_surveys":false,"footnotes":""},"categories":[3],"tags":[],"class_list":["post-2668","post","type-post","status-publish","format-standard","hentry","category-unix-linux-admin-stuff"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/microdevsys.com\/wp\/wp-json\/wp\/v2\/posts\/2668","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/microdevsys.com\/wp\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/microdevsys.com\/wp\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/microdevsys.com\/wp\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/microdevsys.com\/wp\/wp-json\/wp\/v2\/comments?post=2668"}],"version-history":[{"count":5,"href":"https:\/\/microdevsys.com\/wp\/wp-json\/wp\/v2\/posts\/2668\/revisions"}],"predecessor-version":[{"id":3122,"href":"https:\/\/microdevsys.com\/wp\/wp-json\/wp\/v2\/posts\/2668\/revisions\/3122"}],"wp:attachment":[{"href":"https:\/\/microdevsys.com\/wp\/wp-json\/wp\/v2\/media?parent=2668"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/microdevsys.com\/wp\/wp-json\/wp\/v2\/categories?post=2668"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/microdevsys.com\/wp\/wp-json\/wp\/v2\/tags?post=2668"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}