This file contains 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
# command line can be amazing and so simple ( just a terminal! ) at the same time | |
# Show apps that use internet connection at the moment | |
lsof -P -i -n | |
# all parameters from latest command | |
!* | |
#edit current command line in your editor | |
<ctrl-x> <ctrl-e> |
This file contains 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
#!/usr/bin/env sh | |
URLS[0]="https://www.google.com" | |
URLS[1]="http://169.254.169.254/metadata/instance?api-version=2020-06-01" # azure internal endpoint | |
HEADERS[O]="" | |
HEADERS[1]="-H 'Metadata: true'" | |
OUTPUT=${OUTPUT:-/tmp/curl.prom} | |
SLEEP=${SLEEP:-10} |