What will happen, and why?

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?

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.



Leave a Reply 0

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