From owner-freebsd-questions Thu Jan 17 8:57:48 2002 Delivered-To: freebsd-questions@freebsd.org Received: from fremont.bolingbroke.com (adsl-216-102-90-210.dsl.snfc21.pacbell.net [216.102.90.210]) by hub.freebsd.org (Postfix) with ESMTP id 022E937B417 for ; Thu, 17 Jan 2002 08:57:46 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by fremont.bolingbroke.com (8.12.1/8.12.1) with ESMTP id g0HGvjs6052753; Thu, 17 Jan 2002 08:57:45 -0800 (PST) Date: Thu, 17 Jan 2002 08:57:45 -0800 (PST) From: Ken Bolingbroke X-X-Sender: ken@fremont.bolingbroke.com To: ann kok Cc: freebsd-questions@FreeBSD.ORG Subject: Re: command ls question In-Reply-To: <20020117155836.46800.qmail@web20109.mail.yahoo.com> Message-ID: <20020117084947.I5440-100000@fremont.bolingbroke.com> 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 On Thu, 17 Jan 2002, ann kok wrote: > display a char #ls ? doesn't work Works fine over here. Of course, a single character filename has to actually exist: % ls ? ls: No match. % touch a b c % ls ? a b c > remove the files temp1 temp2 temp3 > > #rm temp [1-5 7-9] doesn't work Right, it won't work with spaces. You need it like this: rm temp[1-5,7-9] Note no space between "temp" and "[", and a comma instead of a space between "5" and "7". > ls doesn't accurate to display disk space > because some files are link by command ln > it counts double > > is it right? That's correct. You'll want to use "df" for checking disk space usage. Ken Bolingbroke hacker@bolingbroke.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message