Clearing terminal
- by sldkjalsdjk
Hi folks,
I would like to issue a command from a bash script to clear the terminal it is running from:
-I don't want to clear the bash history (history -c)
-I don't want to issue the clear command (which moves the terminal down to the last prompt, giving the impression the terminal has been cleared, but previous output remains visible if you scroll up)
-I want to completely remove all previous output to my terminal and have it clean as if I was opening a new one
Thanks.