Re: [gentoo-user] locate can not find a file

2017-03-16 Thread Alan McKinnon
On 15/03/2017 18:03, the...@sys-concept.com wrote: > On 03/15/2017 09:51 AM, the...@sys-concept.com wrote: > [snip] >>> >>> Do you have file consent_extraction1.pdf in your working directory? In >>> that case, your shell will begin by expending your asterisk and you will >>> really look for consent

Re: [gentoo-user] locate can not find a file

2017-03-15 Thread Neil Bothwick
On Wed, 15 Mar 2017 10:24:27 -0600, the...@sys-concept.com wrote: > > The wildcard is being expanded by your shell, so the command you are > > actually running is > > > > locate consent_extraction1.pdf > > > > If you want to pass the * to locate, you need to escape or quote it. > > locate co

Re: [gentoo-user] locate can not find a file

2017-03-15 Thread thelma
On 03/15/2017 10:16 AM, Neil Bothwick wrote: > On Wed, 15 Mar 2017 09:10:26 -0600, the...@sys-concept.com wrote: > >> Yes, I run as root: updatedb >> But when run: >> locate consent_extraction* >> >> It only list one file: >> /home/fd/consent_extraction1.pdf (this is a link file) >> /home/fd/busin

Re: [gentoo-user] locate can not find a file

2017-03-15 Thread Neil Bothwick
On Wed, 15 Mar 2017 09:10:26 -0600, the...@sys-concept.com wrote: > Yes, I run as root: updatedb > But when run: > locate consent_extraction* > > It only list one file: > /home/fd/consent_extraction1.pdf (this is a link file) > /home/fd/business/forms/consent_extraction1.pdf The wildcard is bein

Re: [gentoo-user] locate can not find a file

2017-03-15 Thread thelma
On 03/15/2017 09:51 AM, the...@sys-concept.com wrote: [snip] >> >> Do you have file consent_extraction1.pdf in your working directory? In >> that case, your shell will begin by expending your asterisk and you will >> really look for consent_extraction1.pdf. > > It is a strange behaviour :-/ > Yes,

Re: [gentoo-user] locate can not find a file

2017-03-15 Thread thelma
On 03/15/2017 09:31 AM, Alarig Le Lay wrote: > On mer. 15 mars 09:10:26 2017, the...@sys-concept.com wrote: >> Yes, I run as root: updatedb >> But when run: >> locate consent_extraction* >> >> It only list one file: >> /home/fd/consent_extraction1.pdf (this is a link file) >> /home/fd/business/form

Re: [gentoo-user] locate can not find a file

2017-03-15 Thread Alarig Le Lay
On mer. 15 mars 09:10:26 2017, the...@sys-concept.com wrote: > Yes, I run as root: updatedb > But when run: > locate consent_extraction* > > It only list one file: > /home/fd/consent_extraction1.pdf (this is a link file) > /home/fd/business/forms/consent_extraction1.pdf > > It can not find: "cons