Re: [e-smith-devinfo] command-line buffer?

2001-10-16 Thread Gordon Rowell
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

Re: [e-smith-devinfo] command-line buffer?

2001-10-16 Thread Brian
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

Re: [e-smith-devinfo] command-line buffer?

2001-10-15 Thread Graeme Robinson
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

Re: [e-smith-devinfo] command-line buffer?

2001-10-15 Thread Daniel van Raay
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

Re: [e-smith-devinfo] command-line buffer?

2001-10-15 Thread Sage Telecommunications
- 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

Re: [e-smith-devinfo] command-line buffer?

2001-10-15 Thread Graeme Robinson
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

Re: [e-smith-devinfo] command-line buffer?

2001-10-15 Thread Darrell May
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

Re: [e-smith-devinfo] command-line buffer?

2001-10-15 Thread Timothy C Litwiller
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

RE: [e-smith-devinfo] command-line buffer?

2001-10-15 Thread Dan Brown
-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

Re: [e-smith-devinfo] command-line buffer?

2001-10-15 Thread Robin Dunn
> 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

[e-smith-devinfo] command-line buffer?

2001-10-15 Thread Darrell May
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.