🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.bash.bug
Article #403

Re: History, actually not a bug, but a documentation suggestion

#403
From: Bennett Todd
Date: Tue, 01 Aug 1989 12:25
12 lines
845 bytes
>  even easier is to create a file '~/.bash_history', put the line
>HISTFILE=~/.bash_history in your .bashrc file and then chmod the
>file to 444 (-r--r--r--) and bash won't be able to write to the
>file so your history will not be recorded.

Sure enough, that is importantly simpler. Thanks!

Could some mention of one or another of these hacks be added to the
documentation?

-Bennett
bet@orion.mc.duke.edu
Technical Details
Message-ID: <8908011225.AA16291@orion>
Path: arc1-ca.pugleaf.net!utzoo!telly!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!ORION.MC.DUKE.EDU!bet

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!telly!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!ORION.MC.DUKE.EDU!bet
From: bet@ORION.MC.DUKE.EDU (Bennett Todd)
Newsgroups: gnu.bash.bug
Subject: Re: History, actually not a bug, but a documentation suggestion
Message-ID: <8908011225.AA16291@orion>
Date: 1 Aug 89 12:25:53 GMT
Sender: daemon@tut.cis.ohio-state.edu
Distribution: gnu
Organization: GNUs Not Usenet
Lines: 12