OS X: reveal file in console
➜ /Applications realpath iBooks.app /Applications/iBooks.app ➜ /Applications
I found that Safari in Mavericks is not using local proxy.pac at all. Turns out because of sandboxing, it will not allow reading file from local. A traditional solution is to turn on Web Sharing, and thus use HTTP to read the pac file such as http...