Answers for "bash variable command not found"


bash variable command not found

You can not have spaces around the '=' when assigning a variable
Bash will interpret it as a command with '=' and something else as
arguments for that command.

STR = 'foo' will not work
STR='foo' will work
Posted by: Guest on August-19-2021

Code answers related to "bash variable command not found"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language