Intro to Shell Programming: Writing a Simple Web Gallery | Linux Today

Intro to Shell Programming: Writing a Simple Web Gallery

Written By
Web Webster
Web Webster
Mar 12, 2009

“Your script will need to do some image operations like resizing
from the command-line. For that, I recommend ImageMagick, available
as a package in just about every Linux distro. Just apt-get install
imagemagick or yum install imagemagick or whatever your distro
prefers, and you’re ready to go. If you prefer GraphicsMagick, a
fork of ImageMagick, that’s okay too. All the basic commands are
the same.

“For this project, you’ll also want a directory with some images
in it. You can create a directory with mkdir dirname or use your
favorite file manager. Then copy some images into it. Be sure to
copy, not move: you’ll be making changes to images in this
directory, and you wouldn’t want to overwrite the originals.”

Complete
Story

Web Webster

Web Webster

Web Webster has more than 20 years of writing and editorial experience in the tech sector. He’s written and edited news, demand generation, user-focused, and thought leadership content for business software solutions, consumer tech, and Linux Today, he edits and writes for a portfolio of tech industry news and analysis websites including webopedia.com, and DatabaseJournal.com.

Linux Today Logo

LinuxToday is a trusted, contributor-driven news resource supporting all types of Linux users. Our thriving international community engages with us through social media and frequent content contributions aimed at solving problems ranging from personal computing to enterprise-level IT operations. LinuxToday serves as a home for a community that struggles to find comparable information elsewhere on the web.

Property of TechnologyAdvice. © 2026 TechnologyAdvice. All Rights Reserved

Advertiser Disclosure: Some of the products that appear on this site are from companies from which TechnologyAdvice receives compensation. This compensation may impact how and where products appear on this site including, for example, the order in which they appear. TechnologyAdvice does not include all companies or all types of products available in the marketplace.