I can not cd "LaunchAgents" on macbook
- by why
after installing mongdb on my macbook-pro, it tells me:
If this is your first install,
automatically load on login with:
cp /usr/local/Cellar/mongodb/1.6.3-x86_64/org.mongodb.mongod.plist
~/Library/LaunchAgents
launchctl load -w ~/Library/LaunchAgents/org.mongodb.mongod.plist
If this is an upgrade and you already
have the org.mongodb.mongod.plist
loaded:
launchctl unload -w ~/Library/LaunchAgents/org.mongodb.mongod.plist
cp /usr/local/Cellar/mongodb/1.6.3-x86_64/org.mongodb.mongod.plist
~/Library/LaunchAgents
launchctl load -w ~/Library/LaunchAgents/org.mongodb.mongod.plist
Or start it manually:
mongod run --config /usr/local/Cellar/mongodb/1.6.3-x86_64/mongod.conf
but after i copy org.mongodb.mongod.plist to ~/Library/LaunchAgents, it tells me
launchctl load -w
~/Library/LaunchAgents/org.mongodb.mongod.plist
launchctl: Couldn't
stat("/Users/liuqiang/Library/LaunchAgents/org.mongodb.mongod.plist"):
Not a directory
and also i can not cd "~/Library/LaunchAgents", but i can ls the directory!
"~/Library/LaunchAgents" is a strange directory in mac.