< Day Day Up >
tty
—gets the name of the terminal
tty [ –l ] [ –s ]
tty
prints the pathname of the user's terminal.
< Day Day Up >