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 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.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |