|
execv extension list for shell
Hi,
I am implementing a shell, and I am specifically calling execv to execute user commands.
My question is how should I provide the extension for the command entered by the user to execv? Ie, if the user enters "cat", how do I provide "/bin/cat" for the execv. I want to provide the extensions for all commands in /bin/ and elsewhere.
Thanks.
|