top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

Is there any tools to help develop mongo shell?

+1 vote
67 views
Is there any tools to help develop mongo shell?
posted Jul 2, 2015 by Tarun Singhal

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

1 Answer

+1 vote

I dont think there is any tool to help to develop mongo shell but you can write scripts for mongo shell using javascript to perform administrative operations. This tutorial will guide you for writing scripts for mongo shell.
https://docs.mongodb.org/manual/tutorial/write-scripts-for-the-mongo-shell/

answer Feb 26, 2016 by Shivam Kumar Pandey
Similar Questions
+1 vote

I am relatively new to shell scripting and UNIX. I am using a Solaris box and the problem is that we have a shell script called strtwrfl.sh which takes a parameter as the workflow name and starts the workflow, e.g. ./strtwrfl.sh ABC where ABC is the workflow name.

I have to run over 200 of such workflows, each workflow is dependent on the successful completion of the previous workflow, i.e. if there are 2 workflows ABC and BCD, strtwrfl.sh BCD will be successful only if strtwrfl.sh ABC successfully executed.

Each workflow takes different time to execute successfully.

I have to write a single shell script such that those 200+ informatica workflows must (I dont mind manually entering those workflows into the script) execute one after another, and if one fails the script should halt displaying which workflow failed.

Since this is a production environment I will not be able to share strtwrfl.sh here.

...