{"id":520,"date":"2016-03-15T10:43:27","date_gmt":"2016-03-15T04:43:27","guid":{"rendered":"http:\/\/hasibul.info\/blog\/?p=520"},"modified":"2016-03-15T10:43:27","modified_gmt":"2016-03-15T04:43:27","slug":"how-to-clear-bash-ssh-terminal-command-history-in-linux","status":"publish","type":"post","link":"https:\/\/hasibul.info\/blog\/2016\/03\/15\/how-to-clear-bash-ssh-terminal-command-history-in-linux\/","title":{"rendered":"How to Clear bash \/ SSH \/ Terminal command history in Linux"},"content":{"rendered":"<p>You might need to wipe off the command history that you&#8217;ve executed in your linux system for various reason. Normally when logged into the bash \/ SSH terminal &#8211; if the Up Arrow key is pressed &#8211; previously executed commands are shown. To completely delete the history type the following command:<\/p>\n<blockquote><p># history -c<br \/>\n# history -w<\/p><\/blockquote>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>You might need to wipe off the command history that you've executed in your linux system for various reason. Normally when logged into the bash \/ SSH terminal - if the Up Arrow key is pressed - previously executed commands are shown. To completely delete the history type the following command: # history -c #&hellip;<\/p>","protected":false},"author":1,"featured_media":543,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[18,6,12,1],"tags":[265,96,95,98,97,264],"how-to":[],"_links":{"self":[{"href":"https:\/\/hasibul.info\/blog\/wp-json\/wp\/v2\/posts\/520"}],"collection":[{"href":"https:\/\/hasibul.info\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/hasibul.info\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/hasibul.info\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/hasibul.info\/blog\/wp-json\/wp\/v2\/comments?post=520"}],"version-history":[{"count":0,"href":"https:\/\/hasibul.info\/blog\/wp-json\/wp\/v2\/posts\/520\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/hasibul.info\/blog\/wp-json\/wp\/v2\/media\/543"}],"wp:attachment":[{"href":"https:\/\/hasibul.info\/blog\/wp-json\/wp\/v2\/media?parent=520"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/hasibul.info\/blog\/wp-json\/wp\/v2\/categories?post=520"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/hasibul.info\/blog\/wp-json\/wp\/v2\/tags?post=520"},{"taxonomy":"how-to","embeddable":true,"href":"https:\/\/hasibul.info\/blog\/wp-json\/wp\/v2\/how-to?post=520"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}