I am creating a shell script to deploy a container, and found in some docker files this definition of ENV: ${HOME:-/home}. I want to know what is the name of this kind of definition and where can I find more information about this kind of method.
Asked
Active
Viewed 31 times
1
-
1[3.5.3 Shell Parameter Expansion](https://www.gnu.org/software/bash/manual/bash.html#Shell-Parameter-Expansion) – glenn jackman Jan 24 '23 at 13:09
-
[Parameter expansion](https://unix.stackexchange.com/a/122848/539768), does this help ? – Marius_Couet Jan 24 '23 at 13:10
-
Thank you very much to: @glennjackman – Walddys E. Dorrejo Céspedes Jan 24 '23 at 13:38
-
Thank you very much to: @Marius_Couet – Walddys E. Dorrejo Céspedes Jan 24 '23 at 13:38