Re: How to disable command prompt history?
- From: "'Anubhav A.'" <parv@xxxxxxxx>
- Date: Sat, 2 Jun 2007 16:52:55 -0400
in message
<e14997e00706021056h2c94e1c6je3e57acc33841066@xxxxxxxxxxxxxx>, wrote
sac thusly...
...
VeeJay wrote:
Could someone would like to describe that how we can disable
to show last executed commands by pressing Up Arrow?
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.
Perhaps so, but to me it seems that OP was asking to turn off the
history recall in the current session itself. In bash & zsh,
setting HISTSIZE may be of some value.
- Parv
--
_______________________________________________
freebsd-questions@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@xxxxxxxxxxx"
- References:
- How to disable command prompt history?
- From: VeeJay
- Re: How to disable command prompt history?
- From: Christopher Hilton
- Re: How to disable command prompt history?
- From: sac
- How to disable command prompt history?
- Prev by Date: Upgrade Today !
- Next by Date: Upgrade Today !
- Previous by thread: Re: How to disable command prompt history?
- Next by thread: About /bin/csh
- Index(es):
Relevant Pages
|