diff --git a/README.md b/README.md index 23bc74a..02bb7a5 100644 --- a/README.md +++ b/README.md @@ -10,7 +10,7 @@ pairing with smart people at Hashrocket. For a steady stream of TILs, [sign up for my newsletter](https://crafty-builder-6996.ck.page/e169c61186). -_1336 TILs and counting..._ +_1337 TILs and counting..._ --- @@ -1249,6 +1249,7 @@ _1336 TILs and counting..._ - [Check If Command Is Executable Before Using](unix/check-if-command-is-executable-before-using.md) - [Check SSH Key Fingerprints Of Known Hosts](unix/check-ssh-key-fingerprints-of-known-hosts.md) - [Check The Current Working Directory](unix/check-the-current-working-directory.md) +- [Check The Installed OpenSSL Version](unix/check-the-installed-openssl-version.md) - [Clear The Screen](unix/clear-the-screen.md) - [Command Line Length Limitations](unix/command-line-length-limitations.md) - [Compare Two Variables In A Bash Script](unix/compare-two-variables-in-a-bash-script.md) diff --git a/unix/check-the-installed-openssl-version.md b/unix/check-the-installed-openssl-version.md new file mode 100644 index 0000000..8dc14b6 --- /dev/null +++ b/unix/check-the-installed-openssl-version.md @@ -0,0 +1,23 @@ +# Check The Installed OpenSSL Version + +Typically with command line tools, I can use a `--version` or `-v` flag with +the command to get it to output the current version. This is not the case with +`openssl`. + +When I do this: + +```bash +$ openssl --version +``` + +I get an Invalid Command message and then a bunch of subcommands are displayed. + +One of those subcommands listed under _Standard Commands_ is the `version` +command. This is what I can use to list the version. + +```bash +$ openssl version -v +LibreSSL 2.8.3 +``` + +See `man openssl` for more details.