Question: How does shell identify whether the user typed command exists or not? Group of answer choices All the user commands are built in shell software
How does shell identify whether the user typed command exists or not?
Group of answer choices
All the user commands are built in shell software and hence it knows all the valid commands
Shell asks the kernel to check for validinvalid command
Shell asks the operating system to check for validinvalid command
By searching the directories specified in the PATH variable looking for a filename same as the user specified command name and looking at the list commands built in the shell program.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
