I have a very simple bash script in which I want to call curl and pass it to variable, this is what I have:
#!/bin/bash
mycommand = "$(curl 'https://...')"
sleep 2
echo "$mycommand"
and yet, when I call it it returns
./testScripttry.sh: line 3: mycommand: command not found
what am I doing wrong here?