Summary

10.4. Summary

Normally, a variable can hold any type of data, unless variables are declared explicitly. Constant variables are set using the readonly built-in command.

An array holds a set of variables. If a type of data is declared, then all elements in the array will be set to hold only this type of data.

Bash features allow for substitution and transformation of variables "on the fly". Standard operations include calculating the length of a variable, arithmetic on variables, substituting variable content and substituting part of the content.


231 visits (1 today, 11 this week, 58 this month, 231 this year)
Uptime: 19:42:08 up 10 days, 1:25, 8 users, load average: 0.00, 0.02, 2.02
3.145.81.47 GET from server z.larryforalaska.com

Friday, December 27, 2024 @ 7:42:08 PM
z.ServerAdmin@lam1.us