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.
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.