The PATH variable is set in /etc/environment:
And updated in .bash_profile:
Select the statements are correct.
(Select all acceptable answers.)
/usr/local/bin will be searched before /usr/games.
/usr/local/apps will be searched before /usr/local/sbin/.
If both /usr/local/apps and /usr/local/bin contain a binary with the same name, the version in /usr/local/apps will be executed.
If the current directory contains a binary with the same name as one in /usr/local/sbin the version in the current directory will be executed.
The which command can be used to find binaries at locations within the PATH.
/usr/temp will only be searched during login shells, and will not be searched during interactive non-login shells.