Até onde conheço o find...sim, ele só procurará onde vc especificou.

2008/8/21 sano_junker <[EMAIL PROTECTED]>:
> traduzindo
> qual dos programas a seguir somente encontrara arquivos que estão em
> seu caminho?
>
> se vc especificar o caminho por exemplo
>
> find / -iname texto
>
> ele vai procurar somente no SEU CAMINHO "/" certo?
>
> sera?
>
> --- Em lpi@yahoogrupos.com.br, "Daniel Requena" <[EMAIL PROTECTED]> escreveu
>
>>
>> Acredito que não seja locate :/ até onde me lembro, locate procura
> na
>> base criada pelo updatedb.
>> Se tivesse que responder eu teria falado which, dê uma olhada na
> man page:
>>
>> "
>> DESCRIPTION
>> which returns the pathnames of the files which would
> be
>> executed in the current environment, had its arguments been given as
>> commands in a
>> strictly POSIX-conformant shell. It does this by searching
> the
>> PATH for executable files matching the names of the arguments.
>> "
>>
>> o segundo parâmetro do find, se vc fizer um "find --help" é
>> Path...logo, acredito que ele procure onde vc quiser...não apenas
> onde
>> PATH apontar.
>> Bem, espero ter ajudado :)
>>
>> Abraços.
>>
>> 2008/8/21 sano_junker <[EMAIL PROTECTED]>:
>> > eae galera
>> > eu estava fazendo o simulado e apareceu a seguinte questao:
>> >
>> > Which one of the following programs will only find files that are
> in
>> > your path?
>> >
>> > locate
>> > slocate
>> > which
>> > find
>> >
>> > eu marquei LOCATE
>> >
>> > ae o simulado falou q era o find...
>> >
>> > de suas opinioes!
>> >
>> >
>>
>>
>>
>> --
>> Atenciosamente
>> Daniel Requena
>>
>
> 



-- 
Atenciosamente
 Daniel Requena

Responder a