Skip to content

Commit 129cd11

Browse files
committed
Add Check The Installed OpenSSL Version as a Unix TIL
1 parent c1d2f64 commit 129cd11

File tree

2 files changed

+25
-1
lines changed

2 files changed

+25
-1
lines changed

README.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ pairing with smart people at Hashrocket.
1010

1111
For a steady stream of TILs, [sign up for my newsletter](https://crafty-builder-6996.ck.page/e169c61186).
1212

13-
_1336 TILs and counting..._
13+
_1337 TILs and counting..._
1414

1515
---
1616

@@ -1249,6 +1249,7 @@ _1336 TILs and counting..._
12491249
- [Check If Command Is Executable Before Using](unix/check-if-command-is-executable-before-using.md)
12501250
- [Check SSH Key Fingerprints Of Known Hosts](unix/check-ssh-key-fingerprints-of-known-hosts.md)
12511251
- [Check The Current Working Directory](unix/check-the-current-working-directory.md)
1252+
- [Check The Installed OpenSSL Version](unix/check-the-installed-openssl-version.md)
12521253
- [Clear The Screen](unix/clear-the-screen.md)
12531254
- [Command Line Length Limitations](unix/command-line-length-limitations.md)
12541255
- [Compare Two Variables In A Bash Script](unix/compare-two-variables-in-a-bash-script.md)
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# Check The Installed OpenSSL Version
2+
3+
Typically with command line tools, I can use a `--version` or `-v` flag with
4+
the command to get it to output the current version. This is not the case with
5+
`openssl`.
6+
7+
When I do this:
8+
9+
```bash
10+
$ openssl --version
11+
```
12+
13+
I get an Invalid Command message and then a bunch of subcommands are displayed.
14+
15+
One of those subcommands listed under _Standard Commands_ is the `version`
16+
command. This is what I can use to list the version.
17+
18+
```bash
19+
$ openssl version -v
20+
LibreSSL 2.8.3
21+
```
22+
23+
See `man openssl` for more details.

0 commit comments

Comments
 (0)