This lesson shows how the Linux commands 'which' and 'whereis' find command locations. When you type 'which ls', it looks through the directories listed in your PATH environment variable, one by one, until it finds the first executable named 'ls'. It then shows that path, for example '/bin/ls'. On the other hand, 'whereis ls' searches more places, including standard binary folders, source code locations, and manual pages. It lists all found files related to 'ls', such as '/bin/ls' and '/usr/share/man/man1/ls.1.gz'. The execution table traces these steps clearly. Variables like PATH and the results of each command are tracked to show changes. Key moments clarify why 'which' shows only one path while 'whereis' shows many, and why 'which' depends strictly on PATH. The quiz tests understanding by asking about outputs at specific steps and effects of changing PATH. Remember, use 'which' to find the exact executable your shell will run, and 'whereis' to find related files and documentation.