I am new to bash and am trying to understand a script I have been passed. Within the script, I have the following variable:
site_source="${site_host[$i]}:public_html"
Can anyone confirm what the colon means here?
I am needing to change the path stored within this variable to a root path, so had thought that removing the :public_html
part would achieve this (it doesn't).
${site_host[$i]} + ":" + "public_html"