What could you do to execute the command successfully in the next attempt?

ho.sh is an executable shell script. You executed the following command that leads to an error:
$ strace -o /tmp/ho.out ./ho.sh
strace: exec: Permission denied
What could you do to execute the command successfully in the next attempt?

ho.sh is an executable shell script. You executed the following command that leads to an error:
$ strace -o /tmp/ho.out ./ho.sh
strace: exec: Permission denied
What could you do to execute the command successfully in the next attempt?

A.
Provide the shell reference with the command.

B.
Remove the shell reference present inside the shell script.

C.
Execute the command as the root operating system user.

D.
The extension for the output file should be changed to .log.



Leave a Reply 0

Your email address will not be published. Required fields are marked *