IT 244: Introduction to Linux/Unix
Rules for Homework Scripts

What Is a Shell Script?

Why Are There Rules for Homework Scripts?

Rules for Homework Shell Scripts

Example

Mistakes That Will Cost You Points

Mistake #1 - Never Use Certain Commands in Your Shell Scripts

Mistake #2 - Step Must Be Capitalized

Mistake #3 - Put Spaces in Comments

Mistake #4 - Don't Get Step Numbers Wrong

Mistake #5 - Unix Prompts Should Never Appear in Scripts

Mistake #6 - Blank Line After a Step Comment

Mistake #7 - No Blank Line Before Step Comment

Mistake #8 - Blank Lines Between Unix Commands for a Step

Testing a Script for Step Comments

Additional Advantages of Running step_comment_check.sh