It can be tricky to remember your "chown" from your "sudo." First, try exploring the directories listed in your PATH variable ...