The PATH variable contains the information about the directory where the utility would be stored i.e. the path to the executable file. For e.g. is we want to search for the ls utility in the bin directory i.e. "/bin/ls" we son't need to provide the command with the pathname, we just provide the utility name like execlp("ls","ls","-l",NULL);