mongoimport: command not found

1,380 views
Skip to first unread message

Homi Rinos

unread,
Mar 21, 2014, 3:21:59 PM3/21/14
to mongod...@googlegroups.com
I am in mongodb-osx-x86_64-2.4.9/bin directory (on iMac) and give a command
$ mongoimport --help
-bash: mongoimport: command not found

I see mongoimport exe in bin directory along with mongo, mongod, etc. I can make a connection and other things work fine.
Can anyone suggest a solution?

Tim Hawkins

unread,
Mar 21, 2014, 3:31:51 PM3/21/14
to mongod...@googlegroups.com
./mongoimport --help

Current directory is not in execution path so you must use ./
-- Sent from my Android phone with K-@ Mail. PGP public key available.

Homi Rinos

unread,
Mar 22, 2014, 4:40:29 PM3/22/14
to mongod...@googlegroups.com
Thanks Tim. Got it.
I am on a common machine and looks like I have to set path for my own session every time.  I am learning.
Homi
Reply all
Reply to author
Forward
0 new messages