print("Tab completion and command history is available at the command prompt.\n");
|
print("Some emacs keystrokes are available too:");
|
print(" Ctrl-A start of line");
|
print(" Ctrl-B move cursor left by one character");
|
print(" Ctrl-C exit shell");
|
print(" Ctrl-D del character (or exit shell)");
|
print(" Ctrl-E move cursor to end of line");
|
print(" Ctrl-F move cursor right by one character");
|
print(" Ctrl-G abort");
|
print(" Ctrl-H (i.e. Backspace) backward-delete-char");
|
print(" Ctrl-I (i.e. Tab) complete");
|
print(" Ctrl-J accept line");
|
print(" Ctrl-K kill from cursor to end of line");
|
print(" Ctrl-L clear screen");
|
print(" Ctrl-M accept line");
|
print(" Ctrl-N recall next line in history");
|
print(" Ctrl-P recall previous line in history");
|
print(" Ctrl-R reverse search history");
|
print(" Ctrl-S forward search history");
|
print(" Ctrl-T transpose characters");
|
print(" Ctrl-U kill all characters to the left of the cursor");
|
print(" Ctrl-W unix word rubout");
|
print(" Ctrl-Y yank killed text");
|
print(" Ctrl-Z Suspend (job control works in linux)");
|
print("You can enter a multi line javascript expression. If parens, braces, etc. are not closed, you will see a new line ");
|
print("beginning with '...' characters. Type the rest of your expression. Press Ctrl-C to abort the data entry if you");
|
print("get stuck.\n");
|
print("For full documentation, please visit https://docs.mongodb.com/manual/reference/mongo shell/#administrative-command-helpers\n");
|