openssl s_client -connect {HOSTNAME}:{PORT} -showcertsReplace all dots in filenames except the extension on Linux
for f in .; do pre="${f%.}"; suf="${f##.}"; mv -i -f -- "$f" "${pre//./_}.${suf}"; doneCount number of directories in the current directory using Linux cli
ls -1 | wc -l