» Linux »
Examen sur Linux »
Examen 201 : Advanced Administration »
Section 5 »
Question 2/23
Explanation: One important environment variable is PATH, a list of directories separated by colons (':'). These
directories are searched through to find commands. If you try to invoke command 'foo', all the directories in
PATH (in that order) are searched for an executable file 'foo' (one with x-bit on). If a file is found, it is
executed.
Reference: http://www.tldp.org/HOWTO/mini/Path-3.html
Incorrect Answers
B: It is not necessary to specify the directory's name, if the directory is in the path.
C: If you didn't have execute permission, you would get a permission denied error.
D: It is not necessary to give everyone these permissions. Users shouldn't have write access to an application
directory.