WATCH(8)
π NAME π
okay so this is WATCH(8), the System Manager's Manual page, and the utility is watch β literally βsnoop on another tty lineβ π
no cap.
β¨ SYNOPSIS β¨
watch [-cinotW] [-f snpdev] [tty]
πΈ DESCRIPTION πΈ
bestie, watch allows the user to examine all data coming through a specified tty using the snp(4) device. If the snp(4) device is not available, watch will attempt to load the module (snp). The watch utility writes to standard output. periodt.
okay, the options are as follows, and yes every single one is here:
-cβ Reconnect on close. If the tty observed bywatchis closed, automatically reattach to the same tty. If this option is not specified,watchwill request a new tty if running in interactive mode or exit if running without a controlling tty.-fsnpdev β If this option is specified,watchwill use snpdev as thesnp(4)device. Without this option,watchwill attempt to find the next availablesnp(4)device.-iβ Force interactive mode. Interactive mode is a default ifwatchis started from a tty. If output is redirected to a file, interactive mode can still be requested by specifying this option.-nβ Disable the ability to switch the watched tty interactively. This disables both change requests made with<control-X>as well as automatic prompting when the current tty is closed or overflows. In all cases where a prompt would be displayed,watchwill exit. The reconnect flags are unaffected by this option. When this flag is used,<control-X>is passed through to the terminal.-oβ Reconnect on overflow. The behavior ofwatchif the observed tty overflows is similar to the behavior if the observed tty is closed. For more info seesnp(4).-tβ Print the date and time when observation of a given tty is started.-Wβ Allow write access to observed tty.
and the argument, because she's part of the crew:
- tty β Tty may be specified as a tty-style device, such as a pseudo tty device, a virtual console, or a serial line, etc. Names may be preceded by
/dev/.
π OPERATION π
While running in interactive mode, all user input is discarded except for these iconic keys:
<control-G>β Exitwatch.<control-W>β Clear screen.<control-X>β Change attached tty, unless this feature is disabled, in which case control-X is passed to the terminal as with other control characters.
π¦ SEE ALSO π¦
bestie, go read pty(4), snp(4), and kldload(8) β iykyk π¦.
β HISTORY β
The watch utility first appeared in FreeBSD 2.1. iconic.
π AUTHORS π
Ugen J.S. Antsilevich <ugen@NetVision.net.il> π.
π BUGS π
No terminal emulation is performed. All user output is reproduced as-is. fr fr.
Debian version, dated November 24, 2001 β this is WATCH(8), and thatβs the whole vibe. bye bestie π«Άπ
π¦ where this page comes from
- freebsd 14.5: base 14.5
- freebsd 15.1: base 15.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms