If I use sftp and list a remote directory, I cannot pipe it to "less" or "more":
$ ls |less
results in an error.
But if I just use ls an tge directory contains a lot of files, i see just the last 20 or so.
What can I do to avoid that?