3.5.1 Matrix Server Command Reference

Chapter 2: mx Commands 59
Copyright © 1999-2007 PolyServe, Inc. All rights reserved.
--matrix <matrix>
Specifies the matrix that you want to connect with. matrix can be any node
in the matrix.
--config <file>
Specifies the configuration file to be consulted for server, user, and
password information. The file must have the same format as matrixrc.
--file <file>
Executes the commands from the specified file. If you specify – instead of a
file, the commands will be read from standard input. You can also specify
--continue to tell mx to continue processing the batch file if an error
occurs.
--prompt <prompt>
Specifies the prompt string that will be printed when mx is ready for
another command. This option is useful when you initiate an interactive
session with the option --file -. For example, if you invoke an interactive
session with the following command, mx will print a % prompt when it
completes a command.
mx --prompt ’%’ --file –
--numeric
Causes hosts to be specified by their numeric IP addresses instead of by
their hostnames.
--user <username>
Specifies the user to be logged in.
--password <password>
Specifies the users password.