Re: How to disable command prompt history?
- From: sac <sac@xxxxxx>
- Date: Sat, 2 Jun 2007 23:26:06 +0530
On 6/2/07, Christopher Hilton <chris@xxxxxxxxxxxx> wrote:
VeeJay wrote:
> Hello there
>
> Could someone would like to describe that how we can disable to show last
> executed commands by pressing Up Arrow?
>
That would depend on which shell you are running. Can you run the
following command and post the results here?
echo $SHELL
By default most of the shells like bash, zsh, ksh have history option.
But you can avoid writing the history of the current session to the
history file by unsetting the HISTFILE environment variable.
So next time when you login the history of the previous session will
not be shown.
sac.
_______________________________________________
freebsd-questions@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@xxxxxxxxxxx"
- Follow-Ups:
- Re: How to disable command prompt history?
- From: 'Anubhav A.'
- Re: How to disable command prompt history?
- From: Kevin Hunter
- Re: How to disable command prompt history?
- References:
- How to disable command prompt history?
- From: VeeJay
- Re: How to disable command prompt history?
- From: Christopher Hilton
- How to disable command prompt history?
- Prev by Date: problem installing xorg 7.2
- Next by Date: Re: How to disable command prompt history?
- Previous by thread: Re: How to disable command prompt history?
- Next by thread: Re: How to disable command prompt history?
- Index(es):
Relevant Pages
|