Sunday, January 17, 2021

Double quotes in a script

Using double quotes while referencing (using a value of a variable) helps to prevent word splitting (regarding white space) and unnecessary globbing (recognizing and expanding wildcards. Check out this script:















Pay close attention to the remarks embedded in the script as they tell you what is happening. After running the script, this is the results:

Welcome Back to Linux Quick Notes!

Hello and welcome to the relaunched Linux Quick Notes! I’m Steven, and I’m thrilled to revive this blog, originally created four years ago d...