Bash Check If Shell Is Interactive or Not Under Linux / Unix Oses in Categories BASH Shell last updated November 5, 2012How do I check in GNU/Bash if a shell is running in interactive mode or not while writing shell scripts?
Linux / Unix: Find Out What tty I’m Using in Categories Linux last updated September 14, 2011What is a tty under Linux / UNIX? How do I find out what tty I’m on?