mongodb / v3.6 / reference / reference-method-pwd.html

pwd()

pwd ( )

Returns the current directory.

This function returns with output relative to the current shell session, and does not impact the server.