![background image](http://html1.mh-extra.com/html/quantum/dxi2500-d/dxi2500-d_manual_3791090008.webp)
Quantum DXi-Series Command Line Interface (CLI) Guide
6-66538-03 Rev C
November 2010
8
CLI Syntax Conventions
delete information. If the
cliviewer
user attempts to run any intrusive command
(such as
add
,
edit
, or
delete
) that changes any information in the system, an
error will be returned.
Additional commands are available to the CLI admin user but not to the CLI
viewer user. For example, the
ftp
command is available only to the CLI admin
(see
CLI Passwords or
Authorized Keys
To remotely issue CLI commands via SSH, you must ensure that the
authorized_keys
file contains public keys that allow commands to be executed
without requiring a login password. The authorized_keys file is located in the
/home/cliadmin/authorized_keys
file.
Available Linux
Commands
The following commands are standard Linux commands that are available to the
CLI users. Display the help text to see syntax and usage information for a
command. To display the help text, enter the
--help
option after the command
name. For example,
cat --help
displays information about the
cat
command.
The following commands available to the CLI admin and CLI viewer users:
•
cat
-
Displays the contents of a file.
•
cp
-
Copies a file.
•
grep
-
Searches for a pattern in files.
•
ls
-
Displays a list of files.
•
ll
-
Displays a list of files with attributes.
•
mv
-
Moves a file from one location to another.
•
rm
-
Deletes files.
•
vi
-
Opens a file for editing.
•
scp
-
Copies files securely.
The following commands are available only to the CLI admin user:
•
ftp
-
Transfers a file from the user’s home directory to a remote system.
•
wbinfo
-
Queries and returns information about Samba related operations
on the system.
CLI Syntax Conventions
The CLI program is named
syscli
. It is usually invoked with parameters necessary
to carry out a predefined task. The first parameter is usually a verb indicating the
action to be performed and hence is called a command. A number of
commands specify the command type (known as subcommand) or the object
upon which the command will operate.The syntax of each CLI is listed in each
section.