{"id":2577,"date":"2023-11-24T09:07:18","date_gmt":"2023-11-24T14:07:18","guid":{"rendered":"http:\/\/www.both.org\/?p=2577"},"modified":"2023-11-24T09:17:13","modified_gmt":"2023-11-24T14:17:13","slug":"bash-prompt-changed-in-fedora-39","status":"publish","type":"post","link":"https:\/\/www.both.org\/?p=2577","title":{"rendered":"Bash Prompt Changed in Fedora 39"},"content":{"rendered":"<div class=\"pld-like-dislike-wrap pld-template-1\">\r\n    <div class=\"pld-like-wrap  pld-common-wrap\">\r\n    <a href=\"javascript:void(0)\" class=\"pld-like-trigger pld-like-dislike-trigger  \" title=\"\" data-post-id=\"2577\" data-trigger-type=\"like\" data-restriction=\"cookie\" data-already-liked=\"0\">\r\n                        <i class=\"fas fa-thumbs-up\"><\/i>\r\n                <\/a>\r\n    <span class=\"pld-like-count-wrap pld-count-wrap\">    <\/span>\r\n<\/div><\/div>\n<p>The Fedora development mailing lists have been talking about a new prompt for the Bash shell for some time. The idea was to add some color to the command prompt. That has been introduced in Fedora 39.<\/p>\n\n\n\n<p>Beyond the addition of color to the prompt the square braces &#8211; [ and ] &#8211; have been removed thus making a bit cleaner prompt. The original Bash prompt looks like Figure 1.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><a href=\"http:\/\/www.both.org\/wp-content\/uploads\/2023\/11\/Old-Bash-Prompt-1.png\"><img loading=\"lazy\" decoding=\"async\" width=\"276\" height=\"26\" src=\"http:\/\/www.both.org\/wp-content\/uploads\/2023\/11\/Old-Bash-Prompt-1.png\" alt=\"\" class=\"wp-image-2582\"\/><\/a><figcaption class=\"wp-element-caption\">Figure 1: The Original Bash Prompt<\/figcaption><\/figure>\n<\/div>\n\n\n<p>The revised Bash prompt is shown in Figure 2.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><a href=\"http:\/\/www.both.org\/wp-content\/uploads\/2023\/11\/New-Bash-Prompt.png\"><img loading=\"lazy\" decoding=\"async\" width=\"179\" height=\"25\" src=\"http:\/\/www.both.org\/wp-content\/uploads\/2023\/11\/New-Bash-Prompt.png\" alt=\"\" class=\"wp-image-2580\"\/><\/a><figcaption class=\"wp-element-caption\">Figure 2: The Revised Bash Prompt<\/figcaption><\/figure>\n<\/div>\n\n\n<p>If you use Fedora 39 &#8211; and presumably later &#8211; the new prompt will be used rather than the older one in my books. This does not affect the functionality of any of the commands used in the experiments in my books and articles.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The Fedora development mailing lists have been talking about a new prompt for the Bash shell for some time. The idea was to add some color to the command prompt. That has been introduced in Fedora 39. Beyond the addition of color to the prompt the square braces &ndash; [ and ] &ndash; have been [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":2588,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_lmt_disableupdate":"","_lmt_disable":"","footnotes":""},"categories":[5],"tags":[],"class_list":["post-2577","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-linux"],"modified_by":"David Both","_links":{"self":[{"href":"https:\/\/www.both.org\/index.php?rest_route=\/wp\/v2\/posts\/2577","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.both.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.both.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.both.org\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.both.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2577"}],"version-history":[{"count":6,"href":"https:\/\/www.both.org\/index.php?rest_route=\/wp\/v2\/posts\/2577\/revisions"}],"predecessor-version":[{"id":2586,"href":"https:\/\/www.both.org\/index.php?rest_route=\/wp\/v2\/posts\/2577\/revisions\/2586"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.both.org\/index.php?rest_route=\/wp\/v2\/media\/2588"}],"wp:attachment":[{"href":"https:\/\/www.both.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2577"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.both.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2577"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.both.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2577"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}