Monday, April 21, 2008

find process id

Example: find the process id of all runing firefox for zo2.
pgrep -u zo2 firefox
More details check the wiki page.

Friday, April 11, 2008

Safari Tips

1. Tab browsing, true one-window solution.
defaults write com.apple.Safari TargetedClicksCreateTabs -bool true

2. Restore last closed window/session.

Safari 3 Menu bar History -> Reopen last closed window.
Safari 3 Menu bar History -> Reopen all windows from last session.

3. Temporary files stored at

/var/tmp/folders.502/TemporaryItems/
Apple CMD + Shift + G, the directory.