testhost - test the status of an NNTP news server
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 ]
-a Get the active list from hostname -d This option tells testhost get the descriptions of the newsgroups on the remote server by sending the 'list newsgroups' command. The remote server may or may not support this command. -e | -E filename These options will send all error messages (normally displayed on stderr), to an alternate file. The lower case version, -e, will send the error messages to the compiled-in default defined in suck_config.h. The default is suck.errlog. The upper case version, -E, requires the filename parameter. All error messages will then be sent to this file. -l phrase_file This option tells testhost to load in an alternate phrase file, instead of using the built-in messages. This allows you to have testhost print phrases in another language, or to allow you to customize the messages without re-building. See the "FOREIGN LANGUAGE PHRASES" in suck.1 for more details. -n date time Get the newgroups created on the host since the date and time specified. The date must be in YYMMDD format and the time must be in HHMMSS format. -N port_number This option will tell testhost to use an alternate NNRP port number when connecting to the host, instead of the default, 119. -q This option tells testhost to not display the connection and announcement messages, rather only display the results of the actual command run. -s | -S filename These options will send all status messages (normally displayed on stdout), to an alternate file. The lower case version, -s, will send the status messages to the compiled-in default defined in suck_config.h. The default is /dev/null, so no status messages will be displayed. The upper case version, -S, requires the filename parameter. All status messages will then be sent to this file. -T This option overrides the compiled-in TIMEOUT value. This is how long testhost waits for data from the remote host before timing out and aborting. -U userid -P password These two options let you specify a userid and password, if your NNTP server requires them. -Q This option tells testhost to use the environment variable NNTP_USER & NNTP_PASS to specify a userid and password, if your NNTP server requires them. This option is provided so that the userid & password can't be seen with the ps command, a potential security problem. -z This options tells testhost to use SSL to talk to the remote server, if testhost was compiled with SSL.
Testhost will query a NNTP news server, specified by hostname. The hostname may optionally include the port number in the form Host:Port.Iftheportnumberisincluded,theportnumberspecified by the -N option will be ignored. The default action is to issue the help command to the server, to see what software it is running and what commands it accepts. 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. If the -M option is used, the command will be preceded with the "mode reader" command, which might be needed by some servers.
0 on success, -1 on failure.
suck(1), rpost(1), lpost(1). TESTHOST(1)
Personal Opportunity - Free software gives you access to billions of dollars of software at no cost. Use this software for your business, personal use or to develop a profitable skill. Access to source code provides access to a level of capabilities/information that companies protect though copyrights. Open source is a core component of the Internet and it is available to you. Leverage the billions of dollars in resources and capabilities to build a career, establish a business or change the world. The potential is endless for those who understand the opportunity.
Business Opportunity - Goldman Sachs, IBM and countless large corporations are leveraging open source to reduce costs, develop products and increase their bottom lines. Learn what these companies know about open source and how open source can give you the advantage.
Free Software provides computer programs and capabilities at no cost but more importantly, it provides the freedom to run, edit, contribute to, and share the software. The importance of free software is a matter of access, not price. Software at no cost is a benefit but ownership rights to the software and source code is far more significant.
Free Office Software - The Libre Office suite provides top desktop productivity tools for free. This includes, a word processor, spreadsheet, presentation engine, drawing and flowcharting, database and math applications. Libre Office is available for Linux or Windows.
The Free Books Library is a collection of thousands of the most popular public domain books in an online readable format. The collection includes great classical literature and more recent works where the U.S. copyright has expired. These books are yours to read and use without restrictions.
Source Code - Want to change a program or know how it works? Open Source provides the source code for its programs so that anyone can use, modify or learn how to write those programs themselves. Visit the GNU source code repositories to download the source.
Study at Harvard, Stanford or MIT - Open edX provides free online courses from Harvard, MIT, Columbia, UC Berkeley and other top Universities. Hundreds of courses for almost all major subjects and course levels. Open edx also offers some paid courses and selected certifications.
Linux Manual Pages - A man or manual page is a form of software documentation found on Linux/Unix operating systems. Topics covered include computer programs (including library and system calls), formal standards and conventions, and even abstract concepts.