• # Ouai

    Posté par . En réponse au message Interface Web locate. Évalué à 1.

    Question bête mais comment utiliser le script? J'esseye de le lancer:

    [jul@darkstar:~] $ .locate_web
    Content-type: text/html


    Recherche de

    Résultat de la recherche de
    Secure Locate 2.7 - Released January 24, 2003



    Copyright (c) 1999, 2000, 2001 Kevin Lindsay & Netnation Communications Inc. &

    James A. Woods <jwoods@adobe.com>



    search usage: locate [-qi] [-d ] [--database=] <search string>...

    locate [-r ] [--regexp=]

    database usage: locate [-qv] [-o ] [--output=]

    locate [-e <dir1,dir2,...>] [-f <fs_type1,...> ] [-l ]

    [-c] <[-U ] [-u]>

    general usage: locate [-Vh] [--version] [--help]



    Options:

    -u - Create slocate database starting at path /.

    -U - Create slocate database starting at path .

    -c - Parse original GNU Locate's '/etc/updatedb.conf'

    when using the -u or -U options. If 'updatedb' is

    symbolically linked to the 'locate' binary, the

    original configuration file will automatically be

    used.

    -e <dir1,dir2,...> - Exclude directories from the slocate database when

    using the -u or -U options.

    -f <fs_type1,...> - Exclude file system types from the slocate database

    when using the -u or -U options. (ie. NFS, etc).

    -l - Security level.

    0 turns security checks off. This will make

    searchs faster.

    1 turns security checks on. This is the default.

    -q - Quiet mode. Error messages are suppressed.

    -n - Limit the amount of results shown to .

    -i - Does a case insensitive search.

    -r

    --regexp= - Search the database using a basic POSIX regular

    expression.

    -o

    --output= - Specifies the database to create.

    -d

    --database= - Specfies the path of databases to search in.

    -h

    --help - Display this help.

    -v

    --verbose - Verbose mode. Display files when creating database.

    -V

    --version - Display version.



    Author: Kevin Lindsay

    Bugs: klindsay@mkintraweb.com

    FTP: ftp://ftp.geekreview.org/slocate/(...)

    ftp://ftp.mkintraweb.com/pub/linux/slocate/(...)

    HTTP: http://www.geekreview.org/slocate/(...)



    mar sep 27 00:53:45 CEST 2005





    La console m'affiche sa dans la console.