exam questions

Exam 010-160 All Questions

View all questions & answers for the 010-160 exam

Exam 010-160 topic 1 question 20 discussion

Actual exam question from LPI's 010-160
Question #: 20
Topic #: 1
[All 010-160 Questions]

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
  • B. ${test.sh}
  • C. cmd ./test.sh
  • D. ./test.sh
  • E. bash test.sh
Show Suggested Answer Hide Answer
Suggested Answer: DE 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
beazzlebub
Highly Voted 2 years, 1 month ago
D & E is the correct answer
upvoted 5 times
...
Vovanich
Most Recent 8 months, 4 weeks ago
Selected Answer: DE
D. ./test.sh E. bash test.sh
upvoted 2 times
...
linvidia
10 months, 3 weeks ago
Selected Answer: DE
The answer: D , E
upvoted 1 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago