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. Also read: nano editor in Linux A Complete Beginner’s Reference to the nano editor. It is simple, minimal, intuitive, and perfect for casual config editing. Nano comes pre-installed on most distros and is usually the first cli-text editor most people use. 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. Nano unlike Emacs and Vim is as a beginner as it can get. 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 |