mirror of
https://github.com/jbranchaud/til
synced 2026-01-05 08:08:02 +00:00
Add Check The Installed OpenSSL Version as a Unix TIL
This commit is contained in:
@@ -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).
|
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 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 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 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)
|
- [Clear The Screen](unix/clear-the-screen.md)
|
||||||
- [Command Line Length Limitations](unix/command-line-length-limitations.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)
|
- [Compare Two Variables In A Bash Script](unix/compare-two-variables-in-a-bash-script.md)
|
||||||
|
|||||||
23
unix/check-the-installed-openssl-version.md
Normal file
23
unix/check-the-installed-openssl-version.md
Normal 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.
|
||||||
Reference in New Issue
Block a user