Intro to Shell Programming: Writing a Simple Web Gallery - page 4
A Simple Script
#! /bin/sh
# Minimalist image gallery script, from Akkana Peck's Linux Planet
# article. This version improves on the one in the article by adding
# quotation marks around the image names in the tags,
# by using \ backslash escapes to make the quotes come through.
# It also adds HTML headers and footers; describing them would have
# made the web article too long.
echo "<html> <head> <title> My Images</title></head><body> " >index.html
echo "<h1> My Images</h1> " >> index.html
- Skip Ahead
- 1. A Simple Script
- 2. A Simple Script
- 3. A Simple Script
- 4. A Simple Script
Solid state disks (SSDs) made a splash in consumer technology, and now the technology has its eyes on the enterprise storage market. Download this eBook to see what SSDs can do for your infrastructure and review the pros and cons of this potentially game-changing storage technology.