

Needless to say you can increase the rate further ( -L 8000), and the command becomes very similar to cat, with the output appearing instantaneously.įor more information see man pv or the Ubuntu manpages online. The example below uses a high rate (300), but if you choose a low rate such as -L 50, it will appear as if the computer is typing out the file for you. With pv you can literally print the file to the screen, and choose the rate ( -L) at which it appears. Monitor the progress of data through a pipe.pv will copy each supplied FILE in turn to standard output (- means standard input), or if no FILEs are specified just standard input is copied.

It is in the repositories and so can be installed with sudo apt-get install pv if you don't have it already.Īs the man page notes, pv is very often used to With OpenSSL installed and verified on our system, we can so ahead and use it to encrypt and decrypt individual files. brew install openssl brew link -force openssl How to Encrypt Files with OpenSSL. By running the commands below you will have OpenSSL installed and linked correctly on a Mac.

As we seem to be listing all available alternatives of displaying any text file in the terminal, it would be quite fun to introduce pv as technically one valid (but unusual) method, although I would normally use cat instead for most things. To install OpenSSL on a Mac we will be using homebrew.
