1 2 3 4 5 6 7 8 9 10 11
#!/bin/bash service=$1 if [ -z "${service}" ]; then exit 1 fi zone="${2:-smf1}" echo $(cql -z "${zone}" k "${service}" "sd.${service}" | fzf)