Archive for February 22nd, 2008

I must admit, i really like the locate command.

Unfortunally the database is usually out of date if you need it…so here the easy way how to update it

  • Open Terminal.app
  • Enter: sudo /usr/libexec/locate.updatedb

Guess it would make sense to create a cron-job or similar for this update-procedure

Haven’t tested this on 10.4 but i bet its the same commands. Otherwise should the man-page in 10.4 solve this question (man locate)

About locate itself:

locate = find data files, programs, directories, & objects matching your search.

For example, let’s say I’m searching for a file with the word “license” in the filename:

locate license

Since you usually receive quite a long list when running locate, you’ll probably want to do this:

locate license | more

-or-

locate license | less

Note that locate searches by name only. To search by any other attribute, use find. To search only for commands, use whereis.

Share on Social Sites:
  • Digg
  • del.icio.us
  • Google
  • Technorati
  • Yigg
  • MisterWong
  • StumbleUpon
Tags: , , , , , , , , , ,

Comments No Comments »

Found that link via daringfireball.net
Quote:

Security vs. Privacy

If there’s a debate that sums up post-9/11 politics, it’s security versus privacy. Which is more important? How much privacy are you willing to give up for security? Can we even afford privacy in this age of insecurity? Security versus privacy: It’s the battle of the century, or at least its first decade.

Read the full story here

Share on Social Sites:
  • Digg
  • del.icio.us
  • Google
  • Technorati
  • Yigg
  • MisterWong
  • StumbleUpon
Tags: , , , ,

Comments No Comments »

1