[olug] am I at the console?

Phil Brutsche phil at brutsche.us
Sat Mar 25 03:36:01 UTC 2006


Dave Weis wrote:
> 
> run 'tty', if it's /dev/pts/ it's remote, if it's /dev/ttyS* it serial, 
> otherwise it's probably local.

Not all serial ports will show up as /dev/ttyS* ;)

-- 

Phil Brutsche
phil at brutsche.us



More information about the OLUG mailing list