Not sure if using South Korea in this script during the Variables Lab test is the best country for this test scenario, two files are created, South and Korea.
bob@caleston-lp10:~$ cat create_files.sh
FILE01=“Japan”
FILE02=“South Korea”
FILE03=“Canada”
cd /home/bob
echo “Creating file called $FILE01”
touch $FILE01
echo “Creating file called $FILE02”
touch $FILE02
echo “Creating file called $FILE03”
touch $FILE03
This has been fixed. Thanks for reporting.
Damith
November 2, 2020, 2:05pm
#3
I still getting error.
FILE01=“Japan”
FILE02=“Egypt”
FILEO3=“Canada”
cd /home/bob/
echo “Creating file called $FILE01”
touch $FILE01
echo “Creating file called $FILE02”
touch $FILE02
echo “Creating file called $FILE03”
touch $FILE03
zhac218
February 20, 2023, 7:09pm
#4
What do we learn from spending hours trying to find the typos?
Damith:
FILEO3=“Canada”
Please correct this to FILE03=“Canada”.