Tuesday, December 24

O'Reilly Network: Unix for the Rest of Us [Jun. 08, 2001] Location, location, location



Our first recipe is simple but very useful.



Open your Terminal app (it's in /Applications/Utilities/) and type



locate '/Fonts/'



If locate returns nothing, it's because the "locate DB" script hasn't been initialized yet. If this is the case -- you've recently installed OS X, and the regular cron scripts haven't yet run -- type the following and let the machine churn for a few minutes. The ampersand at the end of the line puts the process in the background.



sudo /usr/libexec/locate.updatedb &

No comments: