TESTHOST(1)
π TESTHOST β test the status of an NNTP news server π
okay bestie, gather round, because testhost is literally the vibe-check tool for your NNTP news server and I am obsessed π«Ά
β¨ SYNOPSIS β¨
testhost hostname [ -a|-n date time |-o ] [ -M ] [ -s|-S filename ] [
-e|-E filename ] [ -N port_number ] [ -U userid ] [ -P password ] [ -Q ]
[ -l phrase_file ] [ -T timeout ] [ -d ] [ -q ] [ -z ]
π OPTIONS π
-aβ grab the active list from hostname, slay π-dβ this one tellstesthostto get the descriptions of the newsgroups on the remote server by sending the'list newsgroups'command. heads up though: the remote server may or may not support this command. no cap π-e|-E filenameβ these send all error messages (which normally go tostderr) to an alternate file instead. the lowercase-esends them to the compiled-in default defined insuck_config.hβ and that default issuck.errlog. the uppercase-Erequires the filename parameter, and all error messages get sent there instead. β¨-l phrase_fileβ tellstesthostto load in an alternate phrase file instead of using the built-in messages. this is how you gettesthostprinting phrases in another language, or how you customize the messages without re-building. see the"FOREIGN LANGUAGE PHRASES"section insuck.1for more details π-n date timeβ get the newgroups created on the host since the date and time you specified. the date must be inYYMMDDformat and the time must be inHHMMSSformat. periodt β°-N port_numberβ tellstesthostto use an alternate NNRP port number when connecting to the host, instead of the default,119. iconic π-qβ tellstesthostto not display the connection and announcement messages, and instead only display the results of the actual command run. quiet queen energy π€«-s|-S filenameβ these send all status messages (which normally go tostdout) to an alternate file. the lowercase-ssends them to the compiled-in default defined insuck_config.h, and that default is/dev/nullβ so basically no status messages get displayed at all. the uppercase-Srequires the filename parameter, and all status messages get sent there instead π-Tβ overrides the compiled-inTIMEOUTvalue. this is how longtesthostwaits for data from the remote host before timing out and aborting. (in the synopsis it takes a timeout, so you know the drill π)-U useridβ-P passwordβ
these two let you specify a userid and password, if your NNTP server requires them π
-Qβ tellstesthostto use the environment variablesNNTP_USER&NNTP_PASSto specify a userid and password, if your NNTP server requires them. this option exists so that the userid & password can't be seen with thepscommand, which is a potential security problem. protect your secrets bestie π«Ά-zβ tellstesthostto use SSL to talk to the remote server, iftesthostwas compiled with SSL π
πΈ DESCRIPTION πΈ
testhost will query a NNTP news server, specified by hostname. she's nosy and we love that for her π
the hostname may optionally include the port number in the form Host:Port. if the port number is included, the port number specified by the -N option will be ignored. iykyk π
the default action is to issue the help command to the server, to see what software it is running and what commands it accepts. lowkey the perfect icebreaker β¨
if the -a option is used, testhost will display the server's active history list. if the -n date time option is used, testhost will display all new groups created on the server since the date and time specified. if the -o option is used, then testhost will display the overview format, which is what the XOVER command returns. main character behaviour, fr fr π
if the -M option is used, the command will be preceded with the "mode reader" command, which might be needed by some servers. it's giving "excuse me, let me introduce myself first" π
β EXIT VALUES β
0on success π-1on failure π
π¦ SEE ALSO π¦
bestie that's the whole page, no skips, no cuts π―
okay so that's the tea π this page lives in the General Commands Manual and it's TESTHOST(1) β go forth and vibe-check your news server, you absolute icon πβ¨
π¦ where this page comes from
- debian bookworm: suck 4.3.4-1+b3 Β· Public Domain
- debian trixie: suck 4.3.5-5 Β· LicenseRef-public-domain
- ubuntu jammy: suck 4.3.4-1build1 Β· Public Domain
- ubuntu noble: suck 4.3.4-1build3 Β· Public Domain
- ubuntu questing: suck 4.3.5-5
- ubuntu resolute: suck 4.3.5-5build1 Β· LicenseRef-public-domain
- ubuntu stonking: suck 4.3.5-8build1 Β· LicenseRef-public-domain
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms