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.
Sur cette page du site, vous pouvez voir la vidéo en ligne Bash Scripting: Variable assignment and echo command durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur Thomas Blum 20 janvier 2022, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 919 fois et il a aimé 9 téléspectateurs. Bon visionnage!