Bash Scripting: Variable assignment and echo command

Veröffentlicht am: 20 Januar 2022
auf dem Kanal: Thomas Blum
919
9

This video looks at some simple introductory bash script. The main topic is assigning values to variables. A bash variable does NOT get a dollar sign $ when you are giving it a value, but DOES get a dollar sign when you are retrieving its assigned value. In an assignment statement the variable is on the left-hand-side of the equal sign, and there are no spaces on either side of the equal sign. A read command is another way to get a value assigned to a variable. We also look at concatenation of string literals and variables. There is no need for the plus sign or commas one sees in other languages.


Auf dieser Seite können Sie das Online-Video Bash Scripting: Variable assignment and echo command mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer Thomas Blum 20 Januar 2022 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 919 Mal angesehen und es wurde von 9 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!