Interview Questions

What command can you use to determine the location of the command being run?

Operating System Interview Questions and Answers


(Continued from previous question...)

What command can you use to determine the location of the command being run?

You suspect that you have two commands with the same name as the command is not producing the expected results. What command can you use to determine the location of the command being run? which

The which command searches your path until it finds a command that matches the command you are looking for and displays its full path.

(Continued on next question...)

Other Interview Questions