tty command

How do I check in GNU/Bash if a shell is running in interactive mode or not while writing shell scripts?

{ 5 comments }

What is a tty under Linux / UNIX? How do I find out what tty I’m on?

{ 0 comments }