Software >> OS >> Unix >> How to determine the terminal name of your current session

 

# tty

 

Example :-

# tty
/dev/pts/0