Skip to content

Commit 385f9b2

Browse files
committed
DOCSP-15404 convert codeblock shell to bash
1 parent 3474c9f commit 385f9b2

File tree

54 files changed

+168
-168
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

54 files changed

+168
-168
lines changed

source/core/index-wildcard.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ The following operation creates a wildcard index on the
9292
The wildcard index can support arbitrary single-field queries on
9393
``product_attributes`` or its embedded fields:
9494

95-
.. code-block:: shell
95+
.. code-block:: bash
9696
:copyable: false
9797

9898
db.products_catalog.find( { "product_attributes.size.length" : { $gt : 60 } } )

source/core/security-ldap-external.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -343,7 +343,7 @@ Design the query template to retrieve the user's groups.
343343
or methodology for tracking group membership. This query also assumes
344344
the user authenticates using their full LDAP DN as their username.
345345

346-
.. code-block:: shell
346+
.. code-block:: bash
347347

348348
"{USER}?memberOf?base"
349349

@@ -429,7 +429,7 @@ along with any other options relevant to your deployment.
429429
For example, the following operation authenticates to a MongoDB server running
430430
with LDAP authentication and authorization:
431431

432-
.. code-block:: shell
432+
.. code-block:: bash
433433

434434
mongo --username [email protected] --password --authenticationDatabase '$external' --authenticationMechanism "PLAIN" --host "mongodb.example.com" --port 27017
435435

source/includes/extracts-client-side-field-level-encryption.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ content: |
4949
``AWS_SECRET_ACCESS_KEY`` environment variables into local variables
5050
in the :binary:`~bin.mongo` shell:
5151
52-
.. code-block:: shell
52+
.. code-block:: bash
5353
5454
mongo --eval "
5555
var AWS_ACCESS_KEY_ID = '$AWS_ACCESS_KEY_ID'
@@ -71,7 +71,7 @@ content: |
7171
a key that meets the stated requirements and loads it into
7272
the :binary:`~bin.mongo` shell:
7373
74-
.. code-block:: shell
74+
.. code-block:: bash
7575
:emphasize-lines: 1
7676
7777
TEST_LOCAL_KEY=$(echo "$(head -c 96 /dev/urandom | base64 | tr -d '\n')")

source/includes/extracts-wildcard-indexes.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,13 +52,13 @@ content: |
5252
``userMetadata.likes``, ``userMetadata.dislikes``, and
5353
``userMetadata.age``:
5454
55-
.. code-block:: shell
55+
.. code-block:: bash
5656
5757
db.userData.createIndex( { "userMetadata.$**" : 1 } )
5858
5959
The index can support the following queries:
6060
61-
.. code-block:: shell
61+
.. code-block:: bash
6262
:copyable: false
6363
6464
db.userData.find({ "userMetadata.likes" : "dogs" })

source/includes/steps-4.2-downgrade-replica-set.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ content: |
6161
:option:`--dbpath <mongod --dbpath>` command line option specify the
6262
data directory of the arbiter :binary:`~bin.mongod`.
6363
64-
.. code-block:: shell
64+
.. code-block:: bash
6565
6666
rm -rf /path/to/mongodb/datafiles/*
6767

source/includes/steps-4.2-downgrade-sharded-cluster.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ content: |
9999
:option:`--dbpath <mongod --dbpath>` command line option specify the
100100
data directory of the arbiter :binary:`~bin.mongod`.
101101
102-
.. code-block:: shell
102+
.. code-block:: bash
103103
104104
rm -rf /path/to/mongodb/datafiles/*
105105

source/includes/steps-4.4-downgrade-replica-set.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ content: |
4545
:option:`--dbpath <mongod --dbpath>` command line option specify the
4646
data directory of the arbiter :binary:`~bin.mongod`.
4747
48-
.. code-block:: shell
48+
.. code-block:: bash
4949
5050
rm -rf /path/to/mongodb/datafiles/*
5151

source/includes/steps-4.4-downgrade-sharded-cluster.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ content: |
7979
:option:`--dbpath <mongod --dbpath>` command line option specify the
8080
data directory of the arbiter :binary:`~bin.mongod`.
8181
82-
.. code-block:: shell
82+
.. code-block:: bash
8383
8484
rm -rf /path/to/mongodb/datafiles/*
8585

source/includes/steps-configure-ldap-mongodb.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ content: |
9696
options, substituting ``<host>`` and ``<user>``, and
9797
enter your password when prompted:
9898
99-
.. code-block:: shell
99+
.. code-block:: bash
100100
101101
mongo --host <host> --authenticationMechanism PLAIN --authenticationDatabase '$external' -u <user> -p
102102

source/includes/steps-configure-ldap-sasl-activedirectory-authentication.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,7 @@ pre: |
261261
MongoDB server is currently running, make the appropriate preparations to
262262
stop the server.
263263
264-
.. code-block:: shell
264+
.. code-block:: bash
265265
266266
mongod --config <path-to-config-file>
267267
@@ -299,7 +299,7 @@ pre: |
299299
<activedirectory-authauthz-userObj>`, you can authenticate as the user
300300
``[email protected]`` and receive the required permissions.
301301
302-
.. code-block:: shell
302+
.. code-block:: bash
303303
304304
mongo --username [email protected] --password --authenticationMechanism 'PLAIN' --authenticationDatabase '$external' --host <hostname> --port <port>
305305

0 commit comments

Comments
 (0)