Bash terminal
Bash

How to encrypt and decrypt text in bash

Sometimes you need to encrypt a text string or a whole file because it is not recommended (or desirable) to use it as is. What to do if you see yourself in this situation? Make use of the openssl command. The openssl program is a command line tool for using the various cryptography functions of OpenSSL’s crypto library from the…

Continue Reading

Vim editor
FreeBSD

FreeBSD: how to enable clipboard on Vim

If you have asked yourself “how to enable clipboard on Vim?” or “is it possible to access the system clipboard on Vim?“, the answer is: yes. This is how you can do it. Note: in this example I’m using FreeBSD, but the principle is the same in other *nixes. First, you need to get sure that you installed Vim package…

Continue Reading