sudo pluma ssoff.sh
In ssoff.sh, I entered the following :
Code: Select all
#!/bin/bash
echo yo yo
Then I tried to execute via ssoff.sh.
"Command not found."
Then I tried to execute via ./ssoff.sh.
"Permission denied."
I did sudo ./ssoff.sh and entered my password.
This time no error message was displayed, but nothing happened. No text appeared at all. The next command line prompt appeared ready for my next command. It was as if I had pressed the Enter key.
Apparently there is some trick that is eluding me to getting shell scripts to work in Linux. I have read 3-4 online guides and followed their directions and inserted all kinds of text into the shell scripts but nothing ever shows up. I have inserted syntax errors into shell scripts, such as "Eat at McDonalds" and not even an error message shows up. Is there a step I am missing?