Answer Posted / Ankur Kumar Tomer
To clear the terminal history in bash, use the 'history -c' command. In zsh, you can use 'history -w' to write the history file and then remove it.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers