On Mon, Oct 15, 2001 at 08:08:51PM -, Darrell May <[EMAIL PROTECTED]> wrote:
> [...]
> Tim's command 'history -c' works and clears the history after you logout.
You might also like to look at ~/.bash_logout - see the bash manpage.
Gordon
--
Gordon Rowell[EMAIL PROTE
Also, if you open a second terminal for root the commands from the second
terminal will not be copied to .bash_history.
Darrell May wrote:
> I call this somewhat of a developer question :) When we login as root on
> a server and perform our magic, I would like to be able to clear the
> comman
On 16 Oct 2001, Daniel van Raay wrote:
> > The one exception to this I find is using flexbackup in interactive mode,
> > but I suspect this is a paths issue (you don't get root paths using sudo).
>
> Which is easily fixed by adding this line to your ~/.bash_profile or
> ~/.bashrc file:
>
> PATH=$P
On 16 Oct 2001, Graeme Robinson wrote:
[snip]
> The one exception to this I find is using flexbackup in interactive mode,
> but I suspect this is a paths issue (you don't get root paths using sudo).
Which is easily fixed by adding this line to your ~/.bash_profile or
~/.bashrc file:
PATH=$PATH
- Original Message -
From: "Graeme Robinson" <[EMAIL PROTECTED]>
To: "Darrell May" <[EMAIL PROTECTED]>
Cc: "e-smith-devinfo" <[EMAIL PROTECTED]>
Sent: Tuesday, October 16, 2001 6:08 AM
Subject: Re: [e-smith-devinfo] command-line bu
On Mon, 15 Oct 2001, Darrell May wrote:
>
> I call this somewhat of a developer question :) When we login as root on
> a server and perform our magic, I would like to be able to clear the
> command line buffer (don't know what else to call it) so that the next
> root login does not get to use th
Timothy C Litwiller <[EMAIL PROTECTED]> said:
> history -c will clear the .bash_history for the user you are logged in
> as.
Thanks everyone for pointing out the file ~/.bash_history is the file
that stores all the command line entries.
Tim's command 'history -c' works and clears the history
oops replied to just Darrell...
history -c will clear the .bash_history for the user you are logged in as.
Darrell May wrote:
> I call this somewhat of a developer question :) When we login as root on
> a server and perform our magic, I would like to be able to clear the
> command line buffer
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
> From: Darrell May [mailto:[EMAIL PROTECTED]]
>
> How do you clear or reset this 'buffer' prior to exiting?
rm ~/.bash_history should do the trick.
- --
Dan Brown, KE6MKS, [EMAIL PROTECTED]
"Since all the world is but a story, it were w
> I call this somewhat of a developer question :) When we login as root on
> a server and perform our magic, I would like to be able to clear the
> command line buffer (don't know what else to call it) so that the next
> root login does not get to use the up arrow and scroll through what I've
> d
I call this somewhat of a developer question :) When we login as root on
a server and perform our magic, I would like to be able to clear the
command line buffer (don't know what else to call it) so that the next
root login does not get to use the up arrow and scroll through what I've
done.
11 matches
Mail list logo