[SERVER-5447] Option to write shell commands and results to a file Created: 29/Mar/12  Updated: 06/Dec/22  Resolved: 17/Jul/20

Status: Closed
Project: Core Server
Component/s: Shell
Affects Version/s: None
Fix Version/s: None

Type: New Feature Priority: Major - P3
Reporter: Mathias Stearn Assignee: Backlog - Service Architecture
Resolution: Won't Do Votes: 3
Labels: neweng, platform-lhf, platforms-re-triaged, sp-shell
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
is duplicated by SERVER-19791 Save mongo shell session into a file ... Closed
Related
related to SERVER-14880 Ability to output to file from mongo ... Backlog
related to SERVER-12624 Support writing to (bson) files from ... Closed
Assigned Teams:
Service Arch
Participants:

 Description   

Would be useful for example in trainings to give students a copy of all commands run and the output.

Similar to unix 'script' command , mysql's "TEE" command and Oracle's "SPOOL" command.



 Comments   
Comment by Jessica Sigafoos [ 17/Jul/20 ]

This is not currently prioritized for the new shell (mongosh).

Comment by Ramon Fernandez Marina [ 19/Jul/18 ]

As stated in SERVER-19791, this would come in very handy both to students and TSEs alike.

Generated at Thu Feb 08 03:08:56 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.