built-in commands

This page gives information about the commands built-in to JCmd. Please note that you can give your own aliases to these commands in the property file. The names used here are the class names that provide the functionality. Please take a look at the JavaDocs for further information on these commands such as parameters.

Console


CHANGECONSOLE

Allows you to change between console tabs using a command rather than the mouse.

DELETECONSOLE

Delete the current console or one specified by name or position.

NEWCONSOLE

Create a new console represented by a new tab.

RENAMECONSOLE

Rename a console name to be more descriptive.

Date/Time

DATE

Show the current date and allow changing of it.

NETDATE

Gets the atomic date from an NTP server specified in the configuration.

NETTIME

Gets the atomic time from an NTP server specified in the configuration.

NTPSERVERS

Goes to the project web site and retrieves a list of available NTP servers.

TIME

Show the current time and allow changing of it.

Edit

CLS

Clear the console edit area.

Exec

START

Start the specified command in a new console.

File

CD

Change the current directory.

COPY

Copy a file from one location to another.

DELETE

Delete an existing file.

DIR

Give a directory listing.

JARVIEW

View the entries in a JAR/ZIP file.

MD

Make a directory.

RD

Remove an existing directory.

TYPE

Show the contents of a file.

WHICH

Shows which file would be accessed using the classpath.

History

COMMANDHISTORY

Shows the local command history.

GLOBALCOMMANDHISTORY

Shows the command history for all open consoles.

RESETCOMMANDHISTORY

Clear the command history.

RESETGLOBALCOMMANDHISTORY

Clear the global command history.

Misc

ASCIITABLE

Shows an ASCII table.

EXIT

Close the current console.

HELPCATEGORIES

Shows the help categories available.

HELPCOMMANDS

Shows help for the commands available.

HELPKEYS

Shows help for the keys assigned.

QUIT

Close down JCmd.

SET

Set a system property or view the current system properties.

VER

Show the version information.

Pipe

BOTTOM

Show the end of the input sent to this pipe.

COLS

Display column information with the input sent to this pipe.

HEX

Show the input sent to this pipe as hex.

LOWER

Show the input sent to this pipe in lower case.

MIDDLE

Show the middle part of the input sent to this pipe.

MORE

Show the input sent to this pipe 1 page at a time.

NULL

Don't display the input sent to this pipe.

ROWS

Show row information with the input sent to this pipe.

TOP

Show the top of the input sent to this pipe.

UPPER

Show the input sent to this pipe in upper case.

Web

GET

Get the contents of a web page.

NEWS

Show the news from the project page.

WEBSERVICES

Show a list of web services that have been tested to work with the interactive web service command.

WEBSVC

Interactive invocation of a web service.

XPATH

XPATH (XML traversal mechanism) tester.