You should have got a permission denied message because you don’t have permissions to execute the script. List what’s in the project folder in long list format with ls -l to see the file permissions. - It is not working…what am I doing wrong?
project
ls -l
camper: /project$ ls -1 questionnaire.sh
The command asked is with the flag -l (lower case L) instead of -1
-l
-1
By the way, minus one is also a valid flag for ls and in interactive mode it will display every directory and files in a column.
ls
oh good grief!!! thank you!