Re: Search Machine for Ubuntu machine



Karl Larsen wrote:
Ted Hilts - Thunderbird Acct. wrote:

I have Ubuntu 7.10 and would like to get an open source search engine
which I can use on this machine. I would like to tell it what hard
drive and/or directory to search and tell it to search for a file and/or
contents of a file. It would also be nice if it was written in perl or
java or java script or python or some other script or language but not
compiled. Even a bash shell with bash commands. Also, I would like it
to be a server so clients from other machines (like XP) could access the
search domain. I suppose I could use a browser as client which gives
Apache a CGI script with the results back to the browser but I am
hoping not to develop this application but rather (at least initially)
to pick up a search application ready to go.

Thanks -- Ted.





Open a Terminal and type locate filename


Karl




Karl:

I did a "man filename locate" which returned...

slocate - Security Enhanced version of the GNU Locate

SYNOPSIS
slocate [-qi] [-d <path>] [--database=<path>] <search string>
slocate [-i] [-r <regexp>] [--regexp=<regexp>]
slocate [-qv] [-o <file>] [--output=<file>] slocate [-e
<dir1,dir2,...>] [-f
<fstype1,...>] <[-l <level>] [-c] <[-U <path>] [-u]>
slocate [-Vh] [--version] [--help]

DESCRIPTION
Secure Locate provides a secure way to index and quickly search
for all files on your
system regardless of ownership. It uses incremental encoding
just like GNU locate to
compress its database to make searching faster, but it will also
check file permissions
and ownership before displaying matched entries so that users
will not see files they
do not have access to. Note that permissions and ownership
are not stored in the
database.

I think this will do the job but I will have to do some tests. I will
get back to you in a few days. I might be able to implement a shell as
a wrapper and then use the above command options in conjunction with
other concerns.

Thanks Karl for the suggestion -- Ted


--
ubuntu-users mailing list
ubuntu-users@xxxxxxxxxxxxxxxx
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users



Relevant Pages

  • [NEWS] IBM Informix Web DataBlade Local Root by Design
    ... The following security advisory is sent to the securiteam mailing list, and can be found at the SecuriTeam web site: http://www.securiteam.com ... that ease development of "intelligent", interactive, Web-enabled database ... person who has access to change the Perl script. ...
    (Securiteam)
  • RE: Need some MySQL query help...
    ... attempting to run the script: ... passed to the database. ... passwd entry to the current database entry. ...
    (perl.dbi.users)
  • Re: Function that returns date of file.
    ... string after the date/time when it is used by itself. ... Is that your entire script? ... I make an IF statement that required the 'equals equals'. ... designed database your job will be all that much harder. ...
    (alt.php)
  • Re: script dies yet there are no errors in error log
    ... It might be better to ensure the case of the entries in the database, ... This kind of error usually is caused by a CGI or PHP failing to ... input could not be more simple, just a bunch of UPC codes, one per line: ... Given 15 such numbers, the script does fine. ...
    (comp.lang.php)
  • Re: Cannot Open SQL Server Table in Access.ADP File.
    ... I dont think that SQL Server will take 'veiw dependencies' into effect; ... Generate Script Wizard did not work on my original database, ... After fixing some of my tables and a few stored procedures and views, ...
    (microsoft.public.access.adp.sqlserver)