this will hereby hopefully join, in my brain, netstat’s tulpn and ps’s aux:
#!/bin/bash
set -euxo pipefail
-e — exit immediately when one command fails
-u — fail on undefined vars
-o pipefail — fail if a pipe fails
-x — be very very verbose
this will hereby hopefully join, in my brain, netstat’s tulpn and ps’s aux:
#!/bin/bash
set -euxo pipefail
-e — exit immediately when one command fails
-u — fail on undefined vars
-o pipefail — fail if a pipe fails
-x — be very very verbose