ExamGecko
Question list
Search
Search

Question 20 - 010-160 discussion

Report
Export

The current directory contains the following file:

-rwxr-xr-x 1 root root 859688 Feb 7 08:15 test.sh

Given that the file is a valid shell script, how can this script be executed? (Choose two.)

A.
run test.sh
Answers
A.
run test.sh
B.
${test.sh}
Answers
B.
${test.sh}
C.
cmd ./test.sh
Answers
C.
cmd ./test.sh
D.
./test.sh
Answers
D.
./test.sh
E.
bash test.sh
Answers
E.
bash test.sh
Suggested answer: D, E
asked 18/09/2024
Jatuchot Siriwongsilp
41 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first