Ahoy @atpfm Accidental Tech Podcasts. This week the boys in the band had a long chat about terminal windows. Somehow, they got through it all without mention of “the shell”.
I know they were Bourne sufficiently long ago to know of such things.
The terminal window mostly emulates a VT-52 or some such mythical device. The shell does all the magic like history, environment variables, etc.
And /etc and ~ “fc-files” configure your shell of preference creating aliases and environment variables.