XTAIL(1)

๐Ÿ’– NAME ๐Ÿ’–

xtail โ€” watch the growth of files ๐Ÿ‘€๐ŸŒฑ


โœจ SYNTAX โœจ

xtail entry ...

That's it bestie, just hand it some *entry*s and let it cook ๐Ÿณ


๐ŸŒธ DESCRIPTION ๐ŸŒธ

okay so. Xtail monitors one or more files and shows you everything that gets written to a file from the moment you invoke the command. no cap. and the way it's genuinely so useful for monitoring multiple logfiles at the same time?? multiple. logfiles. simultaneously. we love a multitasking icon ๐Ÿ‘‘

If an entry you give on the command line is a directory, xtail monitors all the files in that directory, including the ones that get created after you invoked xtail. yes, it sees the future (kinda) ๐Ÿ”ฎโœจ

If an entry you give on the command line doesn't exist, xtail is not gonna throw a fit about it โ€” it will watch for it and start monitoring it the moment it shows up. patient king behavior fr fr ๐Ÿซถ

When it switches files in the display, it prints a banner showing the pathname of the file, so you always know who's talking ๐Ÿ“ข

An interrupt character (usually CTRL/C or DEL) displays a list of the most recently modified files being watched ๐Ÿ“‹โœจ

Send a quit signal (usually CTRL/backslash) to stop xtail ๐Ÿ›‘

heads up bestie: those signals are literally how you talk to it. interrupt = show me the recents, quit = bye bye ๐Ÿ’…

๐Ÿฆ‹ SEE ALSO ๐Ÿฆ‹

  • tail(1) โ€” the cousin, the origin story, the blueprint ๐Ÿ’œ

๐Ÿ’€ NOTES ๐Ÿ’€

ngl, Xtail may be easily confused. like. it's giving golden retriever energy. for example: if you ask it to monitor a file multiple times, it probably will ๐Ÿ™ˆ (yes, more than once, on purpose, it does not care)

And if you misspell a filename, xtail will treat it as a nonexistent entry and happily wait for its creation. happily. it's just gonna sit there. waiting. forever. for a file that will never come ๐Ÿ˜ญ

My favorite use is:

xtail /usr/spool/uucp/.Log/*

periodt. iconic. that one wildcard is doing so much heavy lifting and it's eating ๐Ÿ’…๐Ÿ”ฅ


๐Ÿ‘‘ AUTHOR ๐Ÿ‘‘

Chip Rosenthal <chip@unicom.com> โ€” thank you for this masterpiece, we are obsessed ๐ŸŽ€


and that's the whole page bestie!! this one lives in the General Commands Manual, and the footer just says XTAIL(1) with no version or date attached โ€” so like, mysterious. no timestamp. no source. just vibes ๐Ÿฆ‹โœจ bye!! ๐Ÿ’–

๐Ÿ“ฆ where this page comes from