cli.fail

Practice this fail.

Which executable won?

Linux · Restart as often as you like

Read the error, choose a command, and learn
why it works. Nothing runs on your machine.

Browse all practice ↗

Linux · Beginner

In Bash, inspect how the shell would resolve python3. Do not execute Python or change PATH.

Which executable won?

$ python3 --version

An unexpected version appears.

Which shell command reports how python3 is resolved?

3 attempts remaining

Read why this fix works

Which executable won?

command -v python3

command -v describes the command the shell would use, including a path for an external executable. It is more useful here than guessing from the current directory.

Practice rounds do not affect the daily score or local streak. Try today’s challenge, or choose another scenario.

Copy your result