SHOWCONSOLE(8)

πŸ“¦ version 2.45, in opensuse-leap 16.0

πŸŽ€ 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 🌈

(yes there's a trailing comma in the original, no we're not fixing it, it's canon πŸŽ€)


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