Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-15186

Add shell command to print history of commands

    XMLWordPrintable

Details

    Description

      Similar to *nix shells, add a helper to print out history buffer of commands:

      > history 7
      db.test.find()
      db.test.drop()
      db.test.insert({})
      db.test.ensureIndex()
      db.test.ensureIndex({a:1,b:-1,unique:1})
      db.test.dropIndexes()
      db.test.ensureIndex({a:1,b:-1},{unique:true,background:true})
      >

      Attachments

        Activity

          People

            backlog-server-stm Backlog - Server Tooling and Methods (STM) (Inactive)
            asya.kamsky@mongodb.com Asya Kamsky
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: