Skip to content
linscpSecure file transfer for Linux and Windows
GitHub

commands

ls

List a remote directory.

Generated from linscp 0.6.1
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.

failonnomatch (see option).

Terminal window
ls
ls /var/log/app/*.log