The following command line works both in Terminal and when called in a bash script:
cd /home/user/Schreibtisch/Tor_FF/tor-browser_en-US/Browser/ && TOR_FORCE_NET_CONFIG=0 ./start-tor-browser --allow-remote
However, when I put the command line in bash into a variable, I get an error message when using the variable.
variable="cd /home/user/Schreibtisch/Tor_FF/tor-browser_en-US/Browser/ && TOR_FORCE_NET_CONFIG=0 ./start-tor-browser --allow-remote"
$variable
Errormessage:
cd: Too many arguments.