Created
December 31, 2015 12:31
-
-
Save jacoelho/27967f1967647e9a0794 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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