Home » Infrastructure » Linux » Deleting command history in linux
Deleting command history in linux [message #98933] Wed, 05 November 2003 22:10 Go to next message
M. Khaled
Messages: 67
Registered: April 2002
Member
could anybody tell me how the command history can be deleted in linux.I will be very grateful to him.
Thanks
Re: Deleting command history in linux [message #98934 is a reply to message #98933] Wed, 05 November 2003 23:08 Go to previous message
Frank Naudr
Messages: 1
Registered: November 2003
Junior Member
Try the following:

1. Truncate or delete your ".bash_history" file. Example:

bash> > .bash_history

2. Set the HISTSIZE environment variable to zero or a lower value. Example:

bash> env | grep HIST
bash> export HISTSIZE=0

Best regards.

Frank
Previous Topic: PLEASE HELP!! Oracle 8.1.7 of RedHad enterprise ES
Next Topic: ORA-03113
Goto Forum:
  


Current Time: Fri Mar 29 06:22:55 CDT 2024