Is there a command you could use to determine if the user is logging onto a terminal session or not? I would like to run a set of commands if it is a terminal session, otherwise, ignore the script. Is this possible using kixtart?

Thanks,

Kyle