VHANGUP(8)

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

πŸ’– VHANGUP(8) β€” The SuSE boot concept πŸ’–

okay so bestie, this is VHANGUP(8) from The SuSE boot concept, and it's all about making terminals act like they just got hung up on. iconic behavior, honestly. πŸ’…βœ¨

🌸 NAME 🌸

Vhang β€” cause a virtually hangup on the specified terminals. yes, the NAME section spells it Vhang, and we respect the lore. 🫢

πŸŽ€ SYNOPSIS πŸŽ€

vhangup [/dev/<terminal> [/dev/<terminal>]]

πŸ’– DESCRIPTION πŸ’–

vhangup simulates a hangup on the terminals you specify. If a device file or a device doesn't exist, it just gets ignored β€” no cap, no drama. πŸ™ˆβœ¨

πŸ”₯ EXAMPLES πŸ”₯

vhangup /dev/tty1 /dev/tty2 /dev/tty3 /dev/tty4 /dev/tty5 /dev/tty6 /dev/ttyS1

okay so what this does: it will replace all open file descriptors in the kernel that points to the listed ttys by a dummy that will deny further reading/writing to the device. It also sends the signals SIGHUP/SIGCONT to the processes which have file descriptors open on the listed ttys. periodt. πŸ’€πŸ”₯

🌈 RETURN VALUE 🌈

On success, zero is returned. On error, 1 is returned. that's the whole vibe check. πŸŽ€

πŸ¦‹ SEE ALSO πŸ¦‹

go read these besties, iykyk. πŸ“šπŸ’…

2008 Werner Fink, 2008 SUSE LINUX Products GmbH, Germany.

πŸ“ AUTHOR πŸ“

Werner Fink <werner@suse.de> β€” icon behavior, fr fr. 🫢✨


mwah πŸ’‹ β€” that's the whole page, bestie. It's from the 3rd Berkeley Distribution, dated Jan 31, 2008, and the manual name is VHANGUP(8). now go virtually hang up on some terminals. slay. πŸŒˆπŸ‘‘

πŸ“¦ where this page comes from