From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1PtBPF-00041Y-Lc for garchives@archives.gentoo.org; Sat, 26 Feb 2011 04:05:21 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id BF1741C04C for ; Sat, 26 Feb 2011 04:05:20 +0000 (UTC) Received: from mail-iw0-f181.google.com (mail-iw0-f181.google.com [209.85.214.181]) by pigeon.gentoo.org (Postfix) with ESMTP id 09A3DE045E for ; Sat, 26 Feb 2011 03:19:35 +0000 (UTC) Received: by iwn2 with SMTP id 2so2194965iwn.40 for ; Fri, 25 Feb 2011 19:19:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:date:from:to:subject:message-id :mail-followup-to:references:mime-version:content-type :content-disposition:in-reply-to:user-agent; bh=sDepNbcr6AomLWWJml2XkKPFTc1/CJnwt0PRdtlWwkE=; b=mvWWB1Q5QMdEMMlqxaR+QLpgvtHWeYfSk+rf9m+pzuwbw+kbjL9G0+enP6jn8RbmJt +UiJECgnEuafs4MF7MoHeLsr862oC5zfslBsHDKyN06lyxrqlAaS9bN/lOgXxCj7PmLY i4gOi7K24yKdPSf7j89PYis942KdIkHrv7ZAs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:subject:message-id:mail-followup-to:references :mime-version:content-type:content-disposition:in-reply-to :user-agent; b=ob9M6rvMsU+IoHVR9ZvxHyfR5DCv5zxj+LTEr6+/Suyv8PWHvyTG1sLeVPhR5xrzVV Jpig+o6odM2oGA0UQA7JTgm93IzdqQJVlwUrbNxyM44JlnfcRl/Tk6OzEXTL9wR9EaxW 9MXsTtWo8GXWGu1RkRqKiO//kaL3cauKXTEWw= Received: by 10.42.226.73 with SMTP id iv9mr1700125icb.207.1298690375505; Fri, 25 Feb 2011 19:19:35 -0800 (PST) Received: from localhost ([61.140.134.98]) by mx.google.com with ESMTPS id xa8sm949110icb.10.2011.02.25.19.19.31 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 25 Feb 2011 19:19:34 -0800 (PST) Date: Sat, 26 Feb 2011 11:19:22 +0800 From: Amankwah To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Search filesystem with a wildcard Message-ID: <20110226031922.GA11390@Diamond.KWGR614> Mail-Followup-To: gentoo-user@lists.gentoo.org References: Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.20 (2009-06-14) X-Archives-Salt: X-Archives-Hash: 1838442068295d07e65e309daacc5da9 On Fri, Feb 25, 2011 at 06:26:51PM -0800, Grant wrote: > I used to use slocate like this to search the filesystem for a file: > > foo*.txt > > but mlocate doesn't seem to accept wildcards. I tried to figure out > how to do it with find but failed. Can anyone point me in the right > direction? > > - Grant How about this? find -name foo*.txt ?