Ask Ubuntu Asked by mohsen_m on November 6, 2021
I have a simple script file first.sh as shown below:
#!/bin/bash
echo "hello";
a = "test";
echo "$a"
when I execute it, it occurs an error as written below:
./first.sh: line 3: a: command not found
Remove spaces in a = "test";
to be a="test";
Answered by Pilot6 on November 6, 2021
Get help from others!
Recent Answers
Recent Questions
© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP