-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Content-Type: text/plain; charset=us-ascii


In a message dated: Mon, 15 Apr 2002 18:55:00 EDT
"Derek D. Martin" said:

>-----BEGIN PGP SIGNED MESSAGE-----
>Hash: SHA1
>If you can't find a command, try
>
>  $ whereis <command>
>
>If that doesn't turn it up, try
>
>  $ locate command
>
>If it's on the system, one of these should generally find it.  The
>first looks in pre-defined locations, generally those places where
>commands tend to live, to see if the file can be found.  The second
>looks up anything that matches <command> in a database of all files on
>your system.

An interesting caveat I've just encountered.  Typically when I build 
a system, I install it, then walk away from it for a bit, but forget 
the system is on.  So it stays up and running for at least a day 
until I get back to it.  With my most recent install being on a 
laptop that I only use during working hours, the system hasn't yet 
been up more than 8 hours or so, and only between the hours of 8:00 
and 17:00ish.

Why is thins important?  Anacron gets run between 6:30 and 7:00 a.m.!
Anacron is what invokes the updatedb command which is what creates 
the database used by the 'locate' command.

As a result, none of the packages I've installed over the past week 
have been 'located' because this cronjob *NEVER* runs.  It never 
runs, because the laptop isn't powered up until well after that job 
is supposed to have run :)

Obviously I can (and have by now) run this manually, and even changed 
the time at which anacron runs.  But this isn't something I would 
expect most people to realize, *especially* if they're a neophyte!

Hope this helps someone :)
- -- 

Seeya,
Paul


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: Exmh version 2.2 06/23/2000 (debian 2.2-1)

iD8DBQE8vCyzuweSOVPxKO4RAttPAJ93VSJqVbw0JyK2ZPtfUVAqJeJgAQCcCpJC
d5KYuFVTaAKHaofMpqRgUAQ=
=o40l
-----END PGP SIGNATURE-----


*****************************************************************
To unsubscribe from this list, send mail to [EMAIL PROTECTED]
with the text 'unsubscribe gnhlug' in the message body.
*****************************************************************

Reply via email to