105.2 Customize or write simple scripts
- Reference to LPI objectives
- Weight
-
4
- Key knowledge areas
-
-
Use standard sh syntax (loops, tests).
-
Use command substitution.
-
Test return values for success or failure or other information provided by a command.
-
Execute chained commands.
-
Perform conditional mailing to the superuser.
-
Correctly select the script interpreter through the shebang (
#!
) line. -
Manage the location, ownership, execution and suid-rights of scripts.
-
- Partial list of the used files, terms and utilities
-
-
for
-
while
-
test
-
if
-
read
-
seq
-
exec
-
||
-
&&
-