{"id":114,"date":"2008-01-07T22:54:13","date_gmt":"2008-01-08T05:54:13","guid":{"rendered":"http:\/\/sp2hari.com\/2008\/01\/07\/bash-spellchecker\/"},"modified":"2020-06-20T08:48:09","modified_gmt":"2020-06-20T08:48:09","slug":"bash-spellchecker","status":"publish","type":"post","link":"https:\/\/sp2hari.com\/index.php\/2008\/01\/07\/bash-spellchecker\/","title":{"rendered":"Bash spellchecker"},"content":{"rendered":"<p>Spell checking in bash is a cool feature which can be added by adding just one line in your bashrc file.<\/p>\n<p><code>shopt -s cdspell<\/code><\/p>\n<p>That&#8217;s all \ud83d\ude42<br \/>\nAdd that to your ~\/.bashrc file.<br \/>\nIf you want to enable this for all the users, then append this to your \/etc\/bash.bashrc (in Ubuntu) or \/etc\/bashrc (in Fedora). Of course, you need the root privilege to edit the files in \/etc.<\/p>\n<p>Now try these<br \/>\ncd \/hoem<br \/>\ncd \/hoe<\/p>\n<p>Cool right \ud83d\ude09<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Spell checking in bash is a cool feature which can be added by adding just one line in your bashrc file. shopt -s cdspell That&#8217;s all \ud83d\ude42 Add that to your ~\/.bashrc file. If you want to enable this for all the users, then append this to your \/etc\/bash.bashrc (in &hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[13],"tags":[],"class_list":["post-114","post","type-post","status-publish","format-standard","hentry","category-code"],"_links":{"self":[{"href":"https:\/\/sp2hari.com\/index.php\/wp-json\/wp\/v2\/posts\/114","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/sp2hari.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/sp2hari.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/sp2hari.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/sp2hari.com\/index.php\/wp-json\/wp\/v2\/comments?post=114"}],"version-history":[{"count":2,"href":"https:\/\/sp2hari.com\/index.php\/wp-json\/wp\/v2\/posts\/114\/revisions"}],"predecessor-version":[{"id":1401,"href":"https:\/\/sp2hari.com\/index.php\/wp-json\/wp\/v2\/posts\/114\/revisions\/1401"}],"wp:attachment":[{"href":"https:\/\/sp2hari.com\/index.php\/wp-json\/wp\/v2\/media?parent=114"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/sp2hari.com\/index.php\/wp-json\/wp\/v2\/categories?post=114"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/sp2hari.com\/index.php\/wp-json\/wp\/v2\/tags?post=114"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}