Chapter 25. Customize or Write Simple Scripts

This chapter provides information and commands concerning the following topics:

Use standard sh syntax (loops, tests)

Use command substitution

Test return values for success or failure or other information provided by a command

Perform conditional mailing to the superuser

Correctly select the script ...

Get CompTIA Linux+/LPIC-1 Portable Command Guide: All the commands for the CompTIA LX0-103 & LX0-104 and LPI 101-400 & 102-400 exams in one compact, now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.