New answers tagged

-1

Run this: launchctl setenv PATH "$PATH" EDIT: That no longer works. Use this with Bash instead: CURRENT="$(/usr/libexec/PlistBuddy -c "Print PATH" ~/.MacOSX/environment.plist)" /usr/libexec/PlistBuddy -c "Set PATH $CURRENT:/your/path/here:/another/path/maybe" ~/.MacOSX/environment.plist Then log out and log in again. Note: You may want to replace $...


0

I'm not sure exactly what you mean by "active desktop", but the command "system_profiler" can generate a vast amount of information about your computer. Between it's various settings and text filtering, you should be able to pluck out almost anything need to know.



Top 50 recent answers are included