Bash a. sh can run normally
Bash - c "a.s h", submitted to the Permission Denied.
This is what circumstance?
CodePudding user response:
Bash a.s h can be executed directly, bash - c "a.s h" need permissions, first change permissions chmod 0777 a.s hCodePudding user response:
And bash - c "XXX", XXX is a command, a.s h no command, should be a bash - c "./a.s h"