< Linux Administration < Shells and Scripting

This lesson covers scripting.

Objectives and Skills

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

Multimedia

Activities

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

Lesson Summary

Key Terms


See also

References

This article is issued from Wikiversity. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.