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


131 visits (2 today, 15 this week, 43 this month, 131 this year)
Uptime: 08:15:00 up 3 days, 13:58, 3 users, load average: 0.07, 0.04, 0.02
3.135.214.208 GET from server z.lamurakami.com

Saturday, December 21, 2024 @ 8:15:00 AM
z.ServerAdmin@lam1.us