Answers for "assign a value to another variable in script"

2

how to put value of one variable into another in bash

#Do not add a space between variable and '='.
arg2=$arg1  	#correct assignment
arg2 = $arg1 	#incorrect assignment
Posted by: Guest on May-16-2020

Code answers related to "assign a value to another variable in script"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language