Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Which of the following is true in Linux/Unix? A. The shell will always search th

ID: 3864711 • Letter: W

Question

Which of the following is true in Linux/Unix?

A. The shell will always search the entire filesystem to find any command you type.

B. The shell will only search the current directory for commands you type.

C. The shell will only find commands if you provide the relative or absolute path to the command.

D. The shell will find commands that are in the directories listed in the shell path variable.

E. The shell will find commands that are in hash table built from the directories listed in the shell path variable.

Explanation / Answer

Answer:

Correct Answer is Option C i.e The shell will only find commands if you provide the relative or absolute path to the command.

Explanation :

In general the shell looks for the relative or absolute path fo the command which is typed by the user because i.e is the location where the commands are navigated for any operations to be performed in the file system which are given by the user.

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote