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.


219 visits (2 today, 18 this week, 46 this month, 219 this year)
Uptime: 07:54:37 up 3 days, 13:38, 3 users, load average: 0.00, 0.00, 0.00
18.219.131.216 GET from server z.lamurakami.com

Saturday, December 21, 2024 @ 7:54:37 AM
z.ServerAdmin@lam1.us