openssl ciphers -v | awk '{print $2}' | sort | uniq
Will return something like this
SSLv3 TLSv1 TLSv1.2 TLSv1.3