Saturday, September 18, 2010

Graceful OSX Shutdown from command line

If you use shutdown -h now running GUI programs will be forced to close. To tell them to close use
osascript -e 'tell application "System Events"' -e 'shut down' -e 'end tell'
Credit :

No comments:

[PostgreSQL] How to create read-only standby replica (follower)

This link  and this link explain it really well and concise