rexpect icon indicating copy to clipboard operation
rexpect copied to clipboard

execute 'ls -l' to stdout

Open jellybobbin opened this issue 2 years ago • 2 comments

Excuse me, how can I execute 'ls -l' to output a directory list after logging into the server via ssh? I managed to execute 'ls -l' successfully, but I'm confused when trying to print out the directory structure. Am I missing any related methods?

jellybobbin avatar Mar 05 '23 02:03 jellybobbin

Hi! What you describe should work the same as the example from the README (which is with ftp though). What is the exact issue you're facing?

matthiasbeyer avatar Mar 05 '23 09:03 matthiasbeyer

@jellybobbin did you manage to figure it out? Or what exactly are you stuck ok?

petreeftime avatar Mar 25 '23 16:03 petreeftime