Skip to content

Instantly share code, notes, and snippets.

@jacoelho
Created December 31, 2015 12:31
Show Gist options
  • Select an option

  • Save jacoelho/27967f1967647e9a0794 to your computer and use it in GitHub Desktop.

Select an option

Save jacoelho/27967f1967647e9a0794 to your computer and use it in GitHub Desktop.
import subprocess
def lambda_handler(event, context):
print(
subprocess.check_output(
'whereis ssh',
shell=True
)
)
# Result
# ssh:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment