Linux Administration/Shells and Scripting/Shell Environment

From Wikiversity
Jump to navigation Jump to search

This lesson covers the shell environment.

Objectives and Skills[edit | edit source]

Objectives and skills for the shell environment portion of Linux+ certification include:[1]

  • Customize and use the shell environment
    • Set environment variables (e.g., PATH) at login or when spawning a new shell
    • Write BASH functions for frequently used sequences of commands
    • Maintain skeleton directories for new user accounts
    • Set command search path with the proper directory
    • The following is a partial list of the used files, terms and utilities:
      • Source
      • /etc/bash.bashrc
      • /etc/profile
      • env
      • export
      • set
      • unset
      • ~/.bash_profile
      • ~/.bash_login
      • ~/.profile
      • ~/.bashrc
      • ~/.bash_logout
      • function
      • alias
      • lists

Readings[edit | edit source]

Multimedia[edit | edit source]

Activities[edit | edit source]

  1. Complete the tutorial IBM: Learn Linux, 101: Customize and use the shell environment

Lesson Summary[edit | edit source]

Key Terms[edit | edit source]

References[edit | edit source]