8.2The telnet server and useful telnet commands

The content management system cmsWorks is shipped with an internal telnet server. This means that you can connect to the server by simply using a normal "telnet" - command of your operating system. After connection you get a shell having certain cmsWorks-internal commands that help to administrate, change, enhance and even shut down a running cmsWorks instance.

Connecting to the telnet server

The standard telnet server port is "8050", the standard telnet server password is "topas", so if you are trying to get a connection to a cmsWorks telnet server running on the machine you work on, try "telnet localhost 8050" and enter the password.

Enter "help" for help

Starting with the telnet server, the most helpful command, of course, is the "help" command, simply entering this will list all available telnet commands. To gain more information about the single commands type "help <commandname>" to get a description of that specific command. Without any further argument the "help" command lists all commands of the telnet server.

Fast overview: Memory usage and logging

To simply get the memory usage of the server or to obtain a log snippet you may look here or here. Anyway, the corresponding commands are described in detail in the chapter system-commands.

Simple use: the command repeater (".")

In case the used operating system telnet command is not compatible using the arrow-up and arrow-down keys to recall already entered command lines, you could use the dot (".") command.

This command can list all already entered command lines of one telnet session (via ". list"), it can repeat the last entered command line (simply enter "."), repeat one numbered command line (i.e. ". 3" will repeat the third command line) or an interval of command lines (i.e. ". 3 5" will repeat the third up to the fifth command line).