Gentoo Archives: gentoo-user

From: Neil Bothwick <neil@××××××××××.uk>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] locate can not find a file
Date: Wed, 15 Mar 2017 16:17:03
Message-Id: 20170315161648.5bdc54ee@digimed.co.uk
In Reply to: [gentoo-user] locate can not find a file by thelma@sys-concept.com
1 On Wed, 15 Mar 2017 09:10:26 -0600, thelma@×××××××××××.com wrote:
2
3 > Yes, I run as root: updatedb
4 > But when run:
5 > locate consent_extraction*
6 >
7 > It only list one file:
8 > /home/fd/consent_extraction1.pdf (this is a link file)
9 > /home/fd/business/forms/consent_extraction1.pdf
10
11 The wildcard is being expanded by your shell, so the command you are
12 actually running is
13
14 locate consent_extraction1.pdf
15
16 If you want to pass the * to locate, you need to escape or quote it.
17
18
19 --
20 Neil Bothwick
21
22 Downloading - A quick way of catching a virus from anywhere in the world.

Replies

Subject Author
Re: [gentoo-user] locate can not find a file thelma@×××××××××××.com