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 , it didn't work.
history -d <line_number>
How can I achieve this?
I don't use tcsh, but perusing the man page suggests:
vi $histfile, if you've overridden the default).
Read your tcsh man page for the various details.