[olug] am I at the console?

thelarsons3 at cox.net thelarsons3 at cox.net
Fri Mar 24 22:44:34 UTC 2006


Hello,

I want a shell script to check if it's being run at the console, so it can act differently than it would in a virtual/remote terminal.  Is this possible?  A portable (cross-Unix) solution would be great, but I'll take anything.

Thanks,
Tim

-- 
Tim & Alethea




More information about the OLUG mailing list