Using output of awk to run command August 18, 2023 by Tarik Use system from within awk: awk '{ system("openssl s_client -connect host:port -cipher " $1) }' ciphers.txt