It is sometimes needed that you monitor the progress of data through a pipe. After searching around the net, I finally discovered a little terminal-based utility that does exactly that! It’s called Pipe Viewer or just PV. Here is some quick info on how to use this tool.
Today I realized that my system’s ability to record sounds was gone… I had set it to record a TV show a couple of days ago, and when I sat back to watch it this morning, I was surprized by the fact that the clip had no sound! Actually, the sound stream was just silence!
I’m writing a VNC mini howto and I got stuck with something. I wanted to do the following with a single command: create the SSH tunnel (local port forwarding) execute vncviewer on the local machine have the SSH tunnel to be automatically closed at the time vncviewer was closed
The “If-Modified-Since” HTTP header is sent from an agent (browser/bot) to the web server in order to know if the requested page has been changed since its last visit. The server responds with a 200 code (Ok) if the page has been modified or with a 304 code (Not modified) if the page has not…
It’s very useful, when testing things, to have syslog messages appear in real-time on the screen. This way there is no need to check /var/log/messages all the time.
There are some really useful commands that can give information about the system directly from the console. Some of them are:
Ever had the need to see what headers a remote web site sends back to you when you request a page with your browser?
There are times you need to search for a particular string or pattern in multiple text files. This is when grep proves to be a really handy tool. Type:
You can create a multiline text file without using any text editor. This is done like this:
The default console resolution can be changed by passing the “vga=value” parameter from GRUB. You can do this at the boot screen or by editing the /boot/grub/grub.conf file. For example: