I followed this instuctions at the guided exercise on Bash scripting basics on the carreer path: IT and Cybersecurity basics.
no. 17 under part 3 reusable scrips, getting access denied error. It dosent mention that a error should be encountered.
I check the document I have to create and it’s correct, to run the script in terminal.
I cant progress without it.
I require assistence!
Welcome to Forums!
Please post a screen shot showing the command you are attempting and the error message.
Can I get assistence?
please.

Did you make the script executable?
I am not sure?
I created the script2.sh as instructed, can you tell how I should have made it executable?
You did it for script1.sh earlier in the lab ![]()
chmod +x script2.sh
Ok Il’l try it again, and check back to let you know.
Hi
The solution work thank for making it clear.
For part 1 step 15 I’m not getting the output it shows on the instructions I’m just getting like to execute new code
Can you show a screen shot of the command and the output. Most likely this is a syntax error.
Yes ima redo it and try right now I’ll take a picture
Never mind I got it thank you I figured it out
What does the output of the following show?
ls -la script2.sh
You forgot to make script2.sh executable.
How do I do that then?
Just like you did to script1.sh in Step 5 ![]()



