Linux Administration/Shells and Scripting/Scripting

From Wikiversity
Jump to navigation Jump to search

This lesson covers scripting.

Objectives and Skills[edit]

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]

Multimedia[edit]

Activities[edit]

  1. Complete the tutorial IBM: Learn Linux, 101: Customize or write simple scripts

Lesson Summary[edit]

Key Terms[edit]

See also[edit]

References[edit]