I am not very familiar with IPython, but it looks as if the locate
command is used to find the IPYTHONDIR or a specific profile.
According to the documentation on IPython's homepage:
From the command-line, you can quickly locate the IPYTHONDIR or a specific profile with:
$ ipython locate
/home/you/.ipython
$ ipython locate profile foo
/home/you/.ipython/profile_foo
These map to the utility functions:
IPython.utils.path.get_ipython_dir()
andIPython.utils.path.locate_profile()
respectively.