Command Reference Guide

228ls 3Com Router 5000 Family and Router 6000 Family
Command Reference
ls
Purpose Use the ls command to view the files in the specified directory as you would with the
dir command.
Syntax ls [ remote-path ]
Parameters remote-path
Name of the intended directory.
Example Display directory flash:/
sftp-client> ls flash:/
-rwxrwxrwx 1 noone nogroup 1759 Aug 23 06:52 vrpcfg.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
drwxrwxrwx 1 noone nogroup 0 Sep 28 08:18 new2
-rwxrwxrwx 1 noone nogroup 225 Sep 28 08:30 pub2
View This command can be used in the following views:
SFTP Client view
Description If the remote-path argument is not specified, the files in the current directory are
displayed.