Working with Variables in Bash Scripts

0
258
Tools to Measure the Performance of your Python Program

Dit bericht verscheen eerder bij FOSSlife

Variables are the building blocks of the programming language, says Pradeep Antil. “They allow us to refer to a memory location using a name. With the help of variables, we can assign, read, and manipulate values stored at a particular memory location. In addition to this, carefully chosen variable names improve the readability of the program.”

When working with variables in Bash, certain rules and conventions need to be followed. This article explains the rules and provides examples for particular cases.

Learn more at LinuxBuzz.

See also:
Dynamic Bash Prompts to Customize the Command Line
How to Build a Simple Script on a Unix or Linux System
 

Dit bericht verscheen eerder bij FOSSlife

Vorig artikelChaos Malware Targets Home Routers with DDoS Attacks
Volgend artikelHow to optimize mission critical applications for the dynamic edge