exam questions

Exam 1z0-821 All Questions

View all questions & answers for the 1z0-821 exam

Exam 1z0-821 topic 1 question 14 discussion

Actual exam question from Oracle's 1z0-821
Question #: 14
Topic #: 1
[All 1z0-821 Questions]

User jack, whose account is configured to use the korn shell, logs in and examines the value of his PATH environment variable:

What will happen, and why?

  • A. He will get a "file not found" error, because the current directory is not in his seaech path.
  • B. He will get a "file not found" error, because his home directory is not in his search path.
  • C. The useradd script will execute, because jack is in the same directory that the script is located in.
  • D. The command /user/sbin/useradd will execute, because it is the last match in the search path.
  • E. The command /user/sbin/useradd will execute, because it is the first match in the search path.
Show Suggested Answer Hide Answer
Suggested Answer: D 🗳️

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
0898andy
3 months, 3 weeks ago
E is correct
upvoted 1 times
...
0898andy
3 months, 3 weeks ago
Should be first match in path.
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