To check what directories are in your $PATH, you can use echo $PATH. But since directories are separated by a colon, the output can be difficult to read.
Use tr ":" "\n"
to translate ":" to "\n"
and the directories will be separated by a new line instead.
Read this article if you don’t know what is $PATH IN Unix/Linux.