From owner-freebsd-questions Wed Aug 13 01:03:22 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id BAA03184 for questions-outgoing; Wed, 13 Aug 1997 01:03:22 -0700 (PDT) Received: from logic.it (mod1.logic.it [195.120.151.17]) by hub.freebsd.org (8.8.5/8.8.5) with SMTP id BAA03174 for ; Wed, 13 Aug 1997 01:03:15 -0700 (PDT) Received: (qmail 513 invoked by uid 1000); 13 Aug 1997 08:01:44 -0000 Date: Wed, 13 Aug 1997 10:01:44 +0200 (MET DST) From: Marco Molteni X-Sender: molter@dumbwinter.ecomotor.it To: Patrick Burm cc: questions@FreeBSD.ORG Subject: Re: history files - where stored? In-Reply-To: <199708121645.JAA03371@hub.freebsd.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk On Tue, 12 Aug 1997, Patrick Burm wrote: [..] > So I deleted my bash history file and logged off. When I logged > back on the history 'reappears' in all its glory. So what I'm > wondering...is where else is it "stored" so I can look there for > command like rsh and such that a "hacker" might try to use. No, the history is only stored in .bash_history (obviously, if the shell is bash; other shells have different names for the history file). The fact that the history "reappears" depends on some shell variables that you can easily understand if you RTFM bash(1). Marco Molteni Computer Science student at the Universita' di Milano, Italy. "This snakeskin jacket symbolizes my individuality and belief in personal freedom".