How do I clear my terminal history?
Answer / 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 |
Where can I get the free download of Unix by Yeswant Kanetkar?
What command will change your prompt to myprompt?
distinguish between paging and swapping?
What is the use of sed command in unix?
what does the 'tee' command do?
What is command substitution?
How to copy multiple files and directories into some other directory?
which command is used to identify the type of the file?
what will be the output of ls ~/..
Will rm -r* removes hidden files?
What command would users use to see what file one page at a time in UNIX?
What are the unix commands?