![Huawei Quidway S8500 Series Command Manual Download Page 1172](http://html.mh-extra.com/html/huawei/quidway-s8500-series/quidway-s8500-series_command-manual_1694791172.webp)
Command Manual – System Management
Quidway S8500 Series Routing Switches
Chapter 8 SSH Terminal Service Configuration
Commands
Huawei Technologies Proprietary
8-23
8.4.4 delete
Syntax
delete remote-file
View
SFTP Client view
Parameter
remote-file
: Name of a file on the server.
Description
Use the
delete
command to delete the specified file from the server.
This command has the same functionality as the
remove
command.
Example
# Delete file temp.c from the server.
sftp-client> delete temp.c
8.4.5 dir
Syntax
dir
[
remote-path
]
View
SFTP Client view
Parameter
remote-path
: Name of the directory to view.
Description
Use the
dir
command to view the files in the specified directory.
If the
remote-path
argument is not specified, the files in the current directory will be
displayed.
This command has the same functionality as the
ls
command.
Example
# View directory flash:/
sftp-client> dir flash:/
-rwxrwxrwx 1 noone nogroup 1759 Aug 23 06:52 vrpcfg.cfg
-rwxrwxrwx 1 noone nogroup 225 Aug 24 08:01 pubkey2