Does anyone know how to detect if the user is in a Terminal Session or not? Basically I want to know if the user is logged in through console or TS when I process my script.

Thanks
_________________________
Austin Henderson