Monitoring a pipe…

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.

User management from the command line

This is a short article about the most common practices in user and group management from the command line. The information is specific to Fedora Core and Red Hat based distros, but would do for any distribution probably with slight differences in the command options.

Meld…

Meld is a visual diff tool. I’d say it’s one of the most useful applications I have ever used. You can compare two or three text files or directories at the same time or work with CVS and SVN directories and files. It displays the differences in a very handy and visually attractive way. Supports…

Continue reading

Assign Virtual IPs to your NIC

Can a network card have multiple IPs assigned to it? The answer is absolutely yes! Some times, for example when you run several servers on a machine or when you need IP-based Apache virtualhosts, it is useful to bind a server or a virtualhost on its own IP address. I am not going to get…

Continue reading

Fedora sound recording problems… solved

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!

SSH Tunnels Headaches

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

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…

Continue reading

A real-time log viewer

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.