R2511-HP MSR Router Series Security Command Reference(V5)
429
Default command level
3: Manage level
Parameters
all: Displays all commands.
command-name: Specifies a command.
Usage guidelines
With neither the argument nor the keyword specified, the command displays all commands in a list.
Examples
# Display the help information of the get command.
sftp-client> help get
get remote-path [local-path] Download file.Default local-path is the same
as remote-path
ls
Use ls to display file and folder information under a directory.
Syntax
ls [ -a | -l ] [ remote-path ]
Views
SFTP client view
Default command level
3: Manage level
Parameters
-a: Displays the filenames and the folder names under a directory.
-l: Displays detailed information about the files and folders under a directory in the form of a list..
remote-path: Specifies the name of the directory to be queried.
Usage guidelines
If the –a and –l keywords are not specified, the command displays detailed information about files and
folders under the specified directory in the form of a list.
If the remote-path argument is not specified, the command displays the file and folder information under
the current working directory.
This command functions as the dir command.
Examples
# Display detailed information about files and folders under the current working directory in the form of
a list.
sftp-client> ls
-rwxrwxrwx 1 noone nogroup 1759 Aug 23 06:52 config.cfg
-rwxrwxrwx 1 noone nogroup 225 Aug 24 08:01 pubkey2
-rwxrwxrwx 1 noone nogroup 283 Aug 24 07:39 pubkey1
-rwxrwxrwx 1 noone nogroup 225 Sep 28 08:28 pub1
drwxrwxrwx 1 noone nogroup 0 Sep 28 08:24 new1










