If I open up terminal with
⌘Space terminal and hit
⌘n a bunch of times, I get many terminals.
I can get rid of all of them using
killall Terminal, which sends the signal
TERM by default.
However, when I open the terminal application again, all of the previous sessions are restored instead of creating a fresh session.
Is there a signal I can use to kill terminal applications in such a way that they aren't restored when I launch the terminal application again the same way that