{"id":258,"date":"1997-09-09T01:36:29","date_gmt":"1997-09-09T09:36:29","guid":{"rendered":"http:\/\/www.birdhouse.org\/betips\/?p=258"},"modified":"1997-09-09T01:36:29","modified_gmt":"1997-09-09T09:36:29","slug":"change-history","status":"publish","type":"post","link":"https:\/\/www.betips.net\/?p=258","title":{"rendered":"Change history"},"content":{"rendered":"<p>If you would like to move your <code>.bash_history<\/code> file to someplace less obtrusive than your <code>home<\/code> directory, simply create or edit a file in <code>\/boot\/home\/config\/boot<\/code> called <code>UserSetupEnvironment<\/code> and add the following line:<\/p>\n<pre> export HISTFILE= \"&amp;lt;path&amp;gt;\/&amp;lt;filename&amp;gt;\"<\/pre>\n<p>Once you reboot and then start a new Terminal session, the history file will be created in the location you specified.<br \/>\nIf you prefer no history file at all, the following will do the trick:<\/p>\n<pre> export HISTFILE=\"\"<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>If you would like to move your .bash_history file to someplace less obtrusive than your home directory, simply create or edit a file in \/boot\/home\/config\/boot called UserSetupEnvironment and add the following line: export HISTFILE= &#8222;&amp;lt;path&amp;gt;\/&amp;lt;filename&amp;gt;&#8220; Once you reboot and then start a new Terminal session, the history file will be created in the location you [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[11],"class_list":["post-258","post","type-post","status-publish","format-standard","hentry","tag-terminal"],"_links":{"self":[{"href":"https:\/\/www.betips.net\/index.php?rest_route=\/wp\/v2\/posts\/258","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.betips.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.betips.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.betips.net\/index.php?rest_route=\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/www.betips.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=258"}],"version-history":[{"count":0,"href":"https:\/\/www.betips.net\/index.php?rest_route=\/wp\/v2\/posts\/258\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.betips.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=258"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.betips.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=258"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.betips.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=258"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}