Want to delete the history of used commands stored!!!
Need to start the history of used commands fresh. So i need to delete the old history. When i checked the fc command there is no option to delete the history. How can i do this?
can this be done by:
set history=0
to delete and again set this to higher number to start the history fresh!
[312 byte] By [
shankie] at [2007-11-26 11:38:27]

# 2
after a little research i could do what i need.
setting the history to zero.
$HISTSIZE=0;export HISTSIZE
this would permanently delete the history and does not store any commands in the history.
to invoke again:
$HISTSIZE=100;export HISTSIZE
Hope this would help others in the community.
# 3
Well, that only works if you logout and then relogin, since the history file will be written at logout time.The shell saves the history in a file in your homedirectory, normally its called ".bash_history" for the bash shell or ".sh_history" for some other shells. .7/M.