Shell Script Execution Problem

After creating the file below in '/usr/local/sbin' I then set it's permission
as: 'chmod 755 /usr/local/sbin/sa_rules_update.sh'

When I try to execute the script with either of the two following lines
'/usr/local/sbin/sa_rules_update.sh'
OR
'sa_rules_update.sh'
The CLI just displays an empty line and doesn't print the contents of the script, I then run 'ctrl-c' to stop the process.

Shouldn't the script immediately execute, or am I not waiting long enough?

After creating the file below in '/usr/local/sbin' I then set it's permission
as: 'chmod 755 /usr/local/sbin/sa_rules_update.sh'

When I try to execute the script with either of the two following lines
'/usr/local/sbin/sa_rules_update.sh'
OR
'sa_rules_update.sh'
The CLI just displays an empty line and doesn't print the contents of the script, I then run 'ctrl-c' to stop the process.

Shouldn't the script immediately execute, or am I not waiting long enough?

Click to expand...

It can take some time until the scripts has downloaded the latest recipes.

However, there's now an easier method of updating the recipes: just run