What does it mean 'to work in a terminal' - The terminal, the TTY, and the shell

Posted by urosp@reddit | linux | View on Reddit | 12 comments

I just wrote a breakdown on what it really means to 'work in the terminal' on Linux. This text breaks down what is a terminal emulator, pty and a shell.

This text is aimed at folks who have played around with the terminal a bit (pretty much everyone on Linux!) and are curious to understand what's going on under the hood. Just scratching the surface here, it should be a quick 10 minute read with some C program examples.

If this is new to you, you might find it interesting to look into how the emulation of ancient hardware from the 70s plays a role here!

I hope it's useful!