I can type dir to print the contents of the remote working directory.

I can type lpwd to print the name of the local directory.

What command do I use to print the contents of the local directory?

1 Answer 1


As per this guide you can use !dir (for example) to run a local command by prefixing with !.

In bash you can use lls to display a "local ls", so I don't know if ldir would work in your case, but you can try and see.

  • 2
    Thanks! I tested out both lls and ldir and neither one works. But the ! did the trick.
    – soapergem
    Jan 2, 2015 at 22:44

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .