SHOWCONSOLE(8)
π NAME π
Isserial β bestie, this little icon's whole job is figuring out if the tty sitting under stdin is a serial line. That's it. That's the whole vibe. π
(also real talk, this page spells it Isserial, isserial and iserial in three different places and we are keeping all three because consistency is not the main character here, ok?)
β¨ SYNOPSIS β¨
isserial [< /dev/console]
Like, that's the entire invocation. Chef's kiss. π«Ά
πΈ DESCRIPTION πΈ
Okay so here's the tea π β iserial checks whether the underlying character device of your current stdin is a serial line. That's the whole plot.
The glow-up use case? You point it at /dev/console as the current character device, and it'll tell you whether the console is a serial line. Lowkey iconic. π
And the exit status β write this down β iserial bails out with status 0 if stdin is a serial line, and not 0 if it isn't. Fr fr, 0 means yes. Don't @ me, that's just how exit codes work. π
π¦ FILES π¦
/dev/consoleβ the system console. Your girl. The one you're probably redirecting into this thing.
π SEE ALSO π
console(4)tty(4)
(yes there's a trailing comma in the original, no we're not fixing it, it's canon π)
π COPYRIGHT π
2003 Werner Fink, 2003 SuSE GmbH Nuernberg, Germany.
Every single detail preserved, no cap. π
π AUTHOR π
Werner Fink <werner@suse.de>
β οΈ friendly reminder bestie: 0 = serial line, anything else = nope. Get it backwards and your boot scripts will be giving chaos demon energy. π
And that's the whole page, mwah π β brought to you by 3rd Berkeley Distribution, dated Jan 14, 2016, and forever living under the name SHOWCONSOLE(8). Slay. π
π¦ where this page comes from
- opensuse-leap 16.0: blog 2.45-160000.1.1 Β· GPL-2.0-or-later
- opensuse-leap 16.0: blog 2.45-160000.1.1 Β· GPL-2.0-or-later
- opensuse-leap 16.0: blog 2.45-160000.1.1 Β· GPL-2.0-or-later
- opensuse-leap 16.0: blog 2.45-160000.1.1 Β· GPL-2.0-or-later
- Copyright 2003 Werner Fink, 2003 SuSE Linux AG, Germany
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms