commands
ls
List a remote directory.
Syntax
Section titled “Syntax”ls [<remote-directory>][/<mask>]Prints the contents of a remote directory in a long format similar to
ls -l. Without an argument it lists the remote working directory.
A mask in the last part, such as *.log, limits the list
to matching entries. When the mask matches nothing, the result follows
failonnomatch, which makes ls a simple
way to test whether a file exists.
Also available as dir.
Affected by
Section titled “Affected by”failonnomatch (see option).
Examples
Section titled “Examples”lsls /var/log/app/*.log