<< Back: Gallery Install <<
Week Six Quick Reminders
[some of the topics & commands covered]
More Basic Commands & Tools
- function [group of commands bundled to be used in a script]
- source [covered previously. command to call an exported PATH into action
without closing and reopening PuTTY.]
Some Reminders on For Writing Shell Scripts & Functions
- Start with #/bin/sh
- Lines starting with the hash mark # are comments and are not executed
- Always check to see if a function name is used prior to creating a new one
so you will not accidentally overwrite and existing function.
- When creating a function, make sure there is a blank space after the first
curly bracket { .
- Lines of scripts or functions are separated by a hard return.
- When a command between curly braces is on a single line, a semi-colon is
required at the end. If curly braces are on separate lines, a semi-colon
is not required.
Gallery Script Install
Step-by-step notes on previous page.
Threads and Links on Cleaning Up Messy Gallery Codes
Sounds like Version 2 [called G2 in threads] is working toward XHTML Strict
compliance. Yah! I may hold off digging deeply here until that
happens. Unless I find time to dig in & figure out what's generating all that messy code and
can change it, or find a spot where someone else has done that.
Gallery Forum Threads
Tutorials
<< Back: Gallery Install <<