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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.