tty

Usage: tty

Print the file name of the terminal connected to stdin.

Options:

			-s	Print nothing, only return an exit status
		

Example:

			$ tty
			/dev/tty2