I developed a tool that allows me to view schema and example rows from my database, directly from my Ubuntu shell. I have a firewall and my public IP is DHCP, so trying to use tools to allow me to view the database from my laptop, yet keep it secure, is difficult. This is a quick, down-and-dirty “just let me see some data” schema and example data viewer. I find it very helpful, so I figured others might as well. Here’s how to install and run it:
curl -O Source Code | 7Vmz2 | Rocket Powered Pastebin -o mongo_ui.sh
chmod +x mongo_ui.sh
./mongo_ui.sh
From my comments on top of the script: