1
0
mirror of https://github.com/jbranchaud/til synced 2026-01-04 23:58:01 +00:00

Add Check The Installed OpenSSL Version as a Unix TIL

This commit is contained in:
jbranchaud
2023-09-08 11:34:00 -05:00
parent c1d2f64558
commit 129cd11940
2 changed files with 25 additions and 1 deletions

View File

@@ -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.