≡ Menu

tty command

How do I check in GNU/Bash if a shell is running in interactive mode or not while writing shell scripts?
[click to continue…]

Linux / Unix: Find Out What tty I’m Using

What is a tty under Linux / UNIX? How do I find out what tty I'm on?
[click to continue…]