The Bash environment

Chapter 3. The Bash environment

Table of Contents
3.1. Shell initialization files
3.1.1. System-wide configuration files
3.1.2. Individual user configuration files
3.1.3. Changing shell configuration files
3.2. Variables
3.2.1. Types of variables
3.2.2. Creating variables
3.2.3. Exporting variables
3.2.4. Reserved variables
3.2.5. Special parameters
3.2.6. Script recycling with variables
3.3. Quoting characters
3.3.1. Why?
3.3.2. Escape characters
3.3.3. Single quotes
3.3.4. Double quotes
3.3.5. ANSI-C quoting
3.3.6. Locales
3.4. Shell expansion
3.4.1. General
3.4.2. Brace expansion
3.4.3. Tilde expansion
3.4.4. Shell parameter and variable expansion
3.4.5. Command substitution
3.4.6. Arithmetic expansion
3.4.7. Process substitution
3.4.8. Word splitting
3.4.9. File name expansion
3.5. Aliases
3.5.1. What are aliases?
3.5.2. Creating and removing aliases
3.6. More Bash options
3.6.1. Displaying options
3.6.2. Changing options
3.7. Summary
3.8. Exercises

In this chapter we will discuss the various ways in which the Bash environment can be influenced:

  • Editing shell initialization files

  • Using variables

  • Using different quote styles

  • Perform arithmetic calculations

  • Assigning aliases

  • Using expansion and substitution


138 visits (1 today, 7 this week, 50 this month, 138 this year)
Uptime: 20:19:29 up 10 days, 2:02, 7 users, load average: 0.01, 0.00, 0.15
3.149.243.29 GET from server z.larryforalaska.com

Friday, December 27, 2024 @ 8:19:29 PM
z.ServerAdmin@lam1.us