Quantum DXi-Series Command Line Interface (CLI) Guide
6-67081-02 Rev A
July 2011
10
CLI Syntax Conventions
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 in their restricted shells. 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
com2.0.1 mand.
The following commands available to the CLI admin and CLI viewer users in their
restricted shells:
•
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
-
Renames a file in the restricted shell.
•
rm
-
Deletes files.
•
vi
-
Opens a file for editing.
•
scp
-
Copies files securely.
•
less
- displays text one screen at a time.
•
head
- displays first part of the file
•
tail
- display last part of the file
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