nerdexam
Oracle

1Z0-100 · Question #128

1Z0-100 Question #128: Real Exam Question with Answer & Explanation

The correct answer is A. executing the shell script using an alias created with the alias dailyrun='bash dailyrun.sh' C. executing the shell script from the shell prompt using the bash command D. executing the shell script from the shell prompt using the sh command. See the full explanation below for the reasoning.

Question

The dailyrun.sh Bash shell script has the permissions as listed here: -rw-r- -r- - 1 hr hradmin 8 Apr 2 06:57 dailyrun.sh Which three methods will be successful at avoiding permissions errrors when attempting to run the script? (Choose three.)

Options

  • Aexecuting the shell script using an alias created with the alias dailyrun='bash dailyrun.sh'
  • Bexecuting the shell script using an alias created with the alias dailyrun=dailyrun.sh
  • Cexecuting the shell script from the shell prompt using the bash command
  • Dexecuting the shell script from the shell prompt using the sh command
  • Eexecuting the shell script from within a shell function using an alias created with the alias

Community Discussion

No community discussion yet for this question.

Full 1Z0-100 Practice