Command Line Basics: Pipelining Output

September 5, 2009 by · 3 Comments
Filed under: bash, command line, HowTo, linux, Ubuntu 

One of the most powerful features of the Linux command line interface, (and other shells that conform to the POSIX standard) is the ability to pipeline output from one command as the input to another. This is done using the vertical bar or pipe character [ | ]. Read more

Command Line Basics: Redirecting Output

August 23, 2009 by · 1 Comment
Filed under: bash, command line, HowTo, linux 

In today's command line basics, I'm going to show you how to redirect output from the bash cli (command line interface). The output of most GNU command line tools is normally sent to the terminal (ie - standard output). There are times when you would like to have the output saved as a file. Now, you could copy the text from the terminal and paste it into a text editor and save it, but there's a better way. Read more

Batch Watermark Images in Linux

August 16, 2009 by · 11 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

« Previous PageNext Page »