Skip to content

Fix capitalisation typos #679

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions source/tutorial/write-scripts-for-the-mongo-shell.txt
Original file line number Diff line number Diff line change
Expand Up @@ -90,19 +90,19 @@ This returns the output of :method:`db.getCollectionNames()` using the
evaluate a javascript file
~~~~~~~~~~~~~~~~~~~~~~~~~~

you can specify a ``.js`` file to the :program:`mongo` shell, and
You can specify a ``.js`` file to the :program:`mongo` shell, and
:program:`mongo` will evaluate the javascript directly. consider the
following example:

.. code-block:: sh

mongo localhost:27017/test myjsfile.js

this operation evaluates the ``myjsfile.js`` script in a
This operation evaluates the ``myjsfile.js`` script in a
:program:`mongo` shell that connects to the ``test`` :term:`database`
on the :program:`mongod` instance accessible via the ``localhost``
interface on port ``27017``.

alternately, you can specify the mongodb connection parameters inside
Alternately, you can specify the mongodb connection parameters inside
of the javascript file using the ``Mongo()`` constructor. See
:ref:`mongo-shell-new-connections` for more information.