Re: Recommendation for a Linux alternative to Centos - ATH9K disaster

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Wed, Jan 26, 2011 at 1:01 AM, Always Learning <centos@xxxxxxxxxx> wrote:
[...]
> .fs
>        # /bin/bash
>        find /data -iwholename *$1
>        find /ax -iwholename *$1
>        find /bx -iwholename *$1
>        find /cx -iwholename *$1
>
> Obviously with the chmod +x.  The last one makes searching times much
> faster when seeking non-operating system files.
>
[...]
> Paul.
> England,
> EU.


You may not be aware of the "locate" command?  Nightly there is a job
that runs (updatedb) that scans the disk and saves file locations.
Locate searches this database instead of you have to do a 'find'.  The
only thing it won't get are files that were added since the last
'updatedb' run.  You can run that whenever you want to update the db,
or use find in those cases.
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos



[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux