Last Updated: February 25, 2016
·
5.398K
· cassioscabral

Adding mongodb PATH in linux systems

When installing the MongoDB you can put the bin folder in the path so you can start it with mongod everywhere on the terminal. Here I put on the end of my ~/.bashrc file so everytime I open my terminal the mongod will work.

export PATH="/home/cassio/mongodb/mongodb-linux-x86_64-2.4.9/bin:$PATH"