![]() |
Clear previous commands in Terminal
Hi mates,
A primitive query but how to clear the previous commands in terminal which is accessed by using up/down arrow keys? Thanks |
exit the shell and open another one, and then edit the ~/.bash_history file
|
Thanks mate. Another invaluable tip. But is there some way to automate that process instead of editing everytime?
|
Code:
history -cand i think putting something like Code:
unset HISTFILE |
Wow thanks again man :)
|
| All times are GMT -5. The time now is 08:10 AM. |