Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


Can you edit long shell operations with an external text editor?



Can you edit long shell operations with an external text editor?..

Answer / Alok Chaudhary

Yes, you can use the `mongo` command followed by the name of your database to enter the MongoDB shell. Once inside, press `Ctrl+Z`, and then type `bg` to run it in the background. After that, open a new terminal, navigate to your previous terminal's directory, and use `fg %1` to bring the background job back into the foreground, allowing you to edit the long shell operations with an external text editor.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More MongoDB Interview Questions

How to set primary key in mongoose?

1 Answers  


How do I show a collection in mongodb?

1 Answers  


I am getting error cannot overwrite model once compiled mongoose, how to fix it?

1 Answers  


How do I create a collection in mongodb? Write it's syntax

1 Answers  


What is arbiter in mongodb?

1 Answers  


How do I start mongodb on mac?

1 Answers  


What is mongodb built?

1 Answers  


How to insert image in mongodb database?

1 Answers  


Where does mongodb store data ubuntu?

1 Answers  


Why do we use mongodb?

1 Answers  


How do you configure to cache size for mmapv1 in mongodb?

1 Answers  


Is mongodb unstructured?

1 Answers  


Categories