make mongo shell queries from bash