isserial

Langue: en

Version: Sep 05, 2003 (openSuse - 09/10/07)

Section: 8 (Commandes administrateur)

NAME

Isserial - determines if the underlying tty of stdin is a serial line

SYNOPSIS

iserial [< /dev/console]

DESCRIPTION

iserial determines if the underlying character device of the current stdin is a serial line. This can be used on /dev/console as current character device to check if the console is a serial line.

The exit status of iserial is 0 if stdin is a serial line otherwise not. ."

FILES

/dev/console
the system console.

SEE ALSO

console(4), tty(4), 2003 Werner Fink, 2003 SuSE GmbH Nuernberg, Germany.

AUTHOR

Werner Fink <werner@suse.de>