Linux Administration/Shells and Scripting/Scripting
Appearance
This lesson covers scripting.
Objectives and Skills
[edit | edit source]Objectives 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
[edit | edit source]Multimedia
[edit | edit source]Activities
[edit | edit source]- Complete the tutorial IBM: Learn Linux, 101: Customize or write simple scripts