Batch Watermark Images in Linux

August 16, 2009 by · 16 Comments
Filed under: bash, HowTo, linux, web development 

I previously wrote up a post showing how to watermark images in Linux with ImageMagick. Without too much work you can write a script to do batch processing of your images. This way you can watermark a whole directory of images at once. Read more

Nautilus Script to Launch a Terminal

August 12, 2009 by · 5 Comments
Filed under: bash, gnome, HowTo, linux, Ubuntu 

I often find myself browsing my filesystem with Nautilus (the GNOME file manager) and wanting a terminal window to manipulate files in the current directory.  I decided to take a shot at writing my own Nautilus script to solve the problem. So here's my first Nautilus script. Save it in $HOME/.gnome2/nautilus-scripts. I named it terminal-here on my system. Read more

Bash to Basics: Read User Input

June 30, 2009 by · Leave a Comment
Filed under: bash, HowTo, linux 

In a previous Bash to Basics, I already showed how to print output to the terminal with the echo command. Today I'm going to show how to read input from the user and store it in a variable. We can then use that variable to print the text back to the terminal with the echo command. Read more

Bash to Basics: Bash Rocket Science

June 10, 2009 by · 1 Comment
Filed under: bash, HowTo, linux, Ubuntu 

Last time in Bash to Basics I showed how to print text to the terminal with the echo command. This got me thinking about the first program I wrote when I was in fourth grade. I was fortunate enough to be in a school district that had computers in the early '80s. If you're around my age, then you may remember the mighty Commodore PET computer.

Some of us were put into a program to learn BASIC programming. The first program we were taught to write made a rocket ship fly up the screen by using Print statements. It looked something like this: Read more

Command Line Basics: Create Custom Commands with Alias

May 30, 2009 by · 2 Comments
Filed under: bash, command line, HowTo, linux 

In today's Command Line Basics we'll create some customized commands with alias. You can think of alias as a sort of command line shortcut. Odds are, your system already has a few aliases defined by default. If you enter the command by it's self, without an argument, it will tell you what aliases already exist on your system. Open a terminal window and give it a try. Read more

« Previous PageNext Page »