{"id":8757,"date":"2023-10-27T22:21:47","date_gmt":"2023-10-27T22:21:47","guid":{"rendered":"https:\/\/www.hexacorn.com\/blog\/?p=8757"},"modified":"2023-10-27T23:13:46","modified_gmt":"2023-10-27T23:13:46","slug":"beyond-the-good-ol-bashrc-entry-part-2","status":"publish","type":"post","link":"https:\/\/www.hexacorn.com\/blog\/2023\/10\/27\/beyond-the-good-ol-bashrc-entry-part-2\/","title":{"rendered":"Beyond the good ol&#8217; .bashrc entry\u2026 Part 2"},"content":{"rendered":"\n<p>Okay, okay, yup, it is a <a href=\"https:\/\/www.hexacorn.com\/blog\/2023\/09\/29\/beyond-the-good-ol-bashrc-entry-part-1\/\" data-type=\"post\" data-id=\"8753\">series<\/a> now. Part two is here!<\/p>\n\n\n\n<p>Browsing available Ubuntu apps one can find a lot of interesting software. One of them is kchmviewer. Its purpose is to view CHM files &#8211; outdated, but still relevant Windows Help files.<\/p>\n\n\n\n<p>Interestingly, one can set up an alternative program to View HTML in this program:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><a href=\"https:\/\/www.hexacorn.com\/blog\/wp-content\/uploads\/2023\/09\/kchmviewer_1.png\"><img decoding=\"async\" src=\"https:\/\/www.hexacorn.com\/blog\/wp-content\/uploads\/2023\/09\/kchmviewer_1.png\" alt=\"\" class=\"wp-image-8758\" width=\"500\" srcset=\"https:\/\/www.hexacorn.com\/blog\/wp-content\/uploads\/2023\/09\/kchmviewer_1.png 704w, https:\/\/www.hexacorn.com\/blog\/wp-content\/uploads\/2023\/09\/kchmviewer_1-300x210.png 300w, https:\/\/www.hexacorn.com\/blog\/wp-content\/uploads\/2023\/09\/kchmviewer_1-428x300.png 428w\" sizes=\"(max-width: 704px) 100vw, 704px\" \/><\/a><\/figure>\n\n\n\n<p>Once this is set up, when you open a CHM file on an Ubuntu OS and hit View HTML button:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/www.hexacorn.com\/blog\/wp-content\/uploads\/2023\/09\/viewhtml.png\"><img decoding=\"async\" loading=\"lazy\" width=\"81\" height=\"71\" src=\"https:\/\/www.hexacorn.com\/blog\/wp-content\/uploads\/2023\/09\/viewhtml.png\" alt=\"\" class=\"wp-image-8766\"\/><\/a><\/figure>\n\n\n\n<p>your program of choice will be executed (but it may not be visible on UI) :<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">ps -afx | grep calc<br>13916 pts\/0 S+ 0:00 | _ grep --color=auto calc<br>13903 ? Sl 0:00 _ \/usr\/bin\/gnome-calculator \/tmp\/kchmviewer.qpoDLl<\/pre>\n\n\n\n<p>It&#8217;s a really horrible and desperate persistence mechanism, but we have to document it all, right?<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Okay, okay, yup, it is a series now. Part two is here! Browsing available Ubuntu apps one can find a lot of interesting software. One of them is kchmviewer. Its purpose is to view CHM files &#8211; outdated, but still &hellip; <a href=\"https:\/\/www.hexacorn.com\/blog\/2023\/10\/27\/beyond-the-good-ol-bashrc-entry-part-2\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[35,78],"tags":[],"_links":{"self":[{"href":"https:\/\/www.hexacorn.com\/blog\/wp-json\/wp\/v2\/posts\/8757"}],"collection":[{"href":"https:\/\/www.hexacorn.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.hexacorn.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.hexacorn.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.hexacorn.com\/blog\/wp-json\/wp\/v2\/comments?post=8757"}],"version-history":[{"count":6,"href":"https:\/\/www.hexacorn.com\/blog\/wp-json\/wp\/v2\/posts\/8757\/revisions"}],"predecessor-version":[{"id":8817,"href":"https:\/\/www.hexacorn.com\/blog\/wp-json\/wp\/v2\/posts\/8757\/revisions\/8817"}],"wp:attachment":[{"href":"https:\/\/www.hexacorn.com\/blog\/wp-json\/wp\/v2\/media?parent=8757"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.hexacorn.com\/blog\/wp-json\/wp\/v2\/categories?post=8757"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.hexacorn.com\/blog\/wp-json\/wp\/v2\/tags?post=8757"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}