Thursday, December 1, 2011

[MacOSX] How to modify enviroment.plist without any additional tools


  1. Convert enviroment.plist to XML format with plutil -convert xml1 environment.plist
  2. Edit it.
  3. Convert it back to binary format with plutil -convert binary1 environment.plist 

No comments:

Useful commands for observe running JVM process

$ jcmd List running processes $ jinfo  Get details of a process $ jps -lvm List running processes with params