Command Line Basics – watch

December 9, 2013 by · 1 Comment
Filed under: bash, command line, HowTo, linux 

There are several log files in a Linux system. Keeping an eye on these log files can be one of the important tasks of a Linux System administrator. You can easily view the end of a log file using the tail command. But if you want to monitor that file all day long it's pretty tedious to enter the tail command every few minutes to check on that log file. You could write a short script  with an infinite loop to check the file periodically, but it turns out that there is already a program to handle repetitive tasks for you. Read more

Keeping Track of My IP Address

December 31, 2012 by · 5 Comments
Filed under: bash, command line, HowTo, linux 

My main computer at home acts as a file and media server for the whole house, so it's pretty much turned on all the time. There are times when I'm away from home that I want to remotely access or download a file from my home computer. My home internet service uses a dynamic IP address and every once in a while we get a short interruption to our power that forces the modem to reset. Of course, when that happens, the modem pulls a new IP address. I thought it would be handy if I could come up with a script to keep track of my current IP address for me. Read more

Creating A Terminal Window Clock

January 10, 2012 by · Leave a Comment
Filed under: bash, command line, HowTo, linux 

If you've been using Linux for a while, you may be familiar with the terminal command, date. The date command will display the current date and time to the terminal. On my system, the default output of date looks like this: Read more

Batch Converting Audio With GStreamer

December 19, 2011 by · 3 Comments
Filed under: bash, HowTo, lame, linux, mp3, Ubuntu 

I recently got a new TV that allows me to stream audio and video from my computer to the TV. I tend to archive music from CD's I've purchased in FLAC format. Unfortunately, FLAC is not one of the formats supported by my TV. I decided to write a little script to convert my music archive into one of the supported file formats. Read more

Watermark Images With Nautilus Actions

March 21, 2010 by · 1 Comment
Filed under: bash, gnome, HowTo, image editing, linux, Ubuntu, web development 

In my last post I showed how you can add your own custom functions to the GNOME file manager with Nautilus Actions. I've also shown previously how to batch watermark images with ImageMagick. I've made some adjustments to my previous script so that it will automatically scale the watermark to fit the target image. Read more

Next Page »