I'm trying to remove a single command from TCSH history on RHEL 6, but couldn't find a way. I tried out the following Bash command as in [1], it didn't work.
history -d <line_number>
How can I achieve this?
I'm trying to remove a single command from TCSH history on RHEL 6, but couldn't find a way. I tried out the following Bash command as in [1], it didn't work.
history -d <line_number>
How can I achieve this?
I don't use tcsh, but perusing the man page suggests:
history -Svi ~/.history (or vi $histfile, if you've overridden the default).history -chistory -LRead your tcsh man page for the various details.