![background image](http://html1.mh-extra.com/html/quantum/dxi-v-series/dxi-v-series_manual_3715194012.webp)
Quantum DXi-Series Command Line Interface (CLI) Guide
6-67081-09 Rev B
February 2014
2
CLI Users
(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 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
command.
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.