From owner-freebsd-questions Thu Jan 17 9:52: 5 2002 Delivered-To: freebsd-questions@freebsd.org Received: from web20103.mail.yahoo.com (web20103.mail.yahoo.com [216.136.226.40]) by hub.freebsd.org (Postfix) with SMTP id 0715837B416 for ; Thu, 17 Jan 2002 09:52:02 -0800 (PST) Message-ID: <20020117175201.42129.qmail@web20103.mail.yahoo.com> Received: from [24.100.124.207] by web20103.mail.yahoo.com via HTTP; Thu, 17 Jan 2002 09:52:01 PST Date: Thu, 17 Jan 2002 09:52:01 -0800 (PST) From: ann kok Subject: Re: command ls question To: smorton@acm.org Cc: freebsd-questions@FreeBSD.ORG In-Reply-To: <3C46F7E5.7050906@verizon.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Dear all My english is not good so it makes you confusion From the book, it shows rm temp? it can remove tempa tempb temp1 ? stands for one char If I have files a, bc , ef, but ls ? doesn't work! --- Simon Morton wrote: > ann kok wrote: > > > Dear all > > > > I would like to know how about command ls > > > > display a char #ls ? doesn't work > > > Works for me... > > holly:~> ls ? > ls: No match. > holly:~> echo "foo" > f > holly:~> ls ? > f > holly:~> > > > > remove the files temp1 temp2 temp3 > > > > #rm temp [1-5 7-9] doesn't work > > > It works if you remove the spaces. > > holly:~> echo "foo" > temp1 > holly:~> echo "foo" > temp2 > holly:~> echo "foo" > temp3 > holly:~> rm temp[1-57-9] > holly:~> ls temp* > ls: No match. > holly:~> > > > > > > and > > > > ls doesn't accurate to display disk space > > because some files are link by command ln > > it counts double > > > > > > is it right? > > > True. Use du or df to find out about disk space. > > -- > http://www.SimonMorton.com > smorton at acm dot org > \rm -rf /bin/laden > __________________________________________________ Do You Yahoo!? Send FREE video emails in Yahoo! Mail! http://promo.yahoo.com/videomail/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message