Linux Administration/Shells and Scripting/Scripting
This lesson covers scripting.
Objectives and Skills
editObjectives and skills for the scripting portion of Linux+ certification include:[1]
- Customize or write simple scripts
- 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 interpreter through the shebang (#!) line
- Manage the location, ownership, execution and SUID rights of scripts
- The following is a partial list of the used files, terms and utilities:
- for
- while
- test
- if
- read
- seq
- exec
Readings
editMultimedia
editActivities
edit- Complete the tutorial IBM: Learn Linux, 101: Customize or write simple scripts