Subject: Re: ls
To: None <netbsd-users@NetBSD.org>
From: Peter Bex <Peter.Bex@xs4all.nl>
List: netbsd-users
Date: 08/20/2006 16:57:36
--2+jOUFLb7N+7fooZ
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
On Sun, Aug 20, 2006 at 08:12:57PM +0800, Water NB wrote:
> $ ls foo*
> will display foo1, foo2, and so on.
> if foo2 is a directory, it will display all files under foo2.
>=20
> but I don't wnat it display files under foo2. how to?
Try the -d flag of ls(1).
HTH
Peter
--=20
http://sjamaan.ath.cx
--
"The process of preparing programs for a digital computer
is especially attractive, not only because it can be economically
and scientifically rewarding, but also because it can be an aesthetic
experience much like composing poetry or music."
-- Donald Knuth
--2+jOUFLb7N+7fooZ
Content-Type: application/pgp-signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (NetBSD)
iQEVAwUBROh4YNOrBFwYag3gAQKavgf/fP5O51e86vVL7kq2WOdawbL20uugeSsk
wbSTSH1zSKoca6CNiOMUfBwEsyEwWkfsiMKAzOTpLXN/7VeI+ylIZq0ZgWAcsSZM
StmcX2HjVEiPtj4bX4JVQQIesUT3WvA0UuM5PdOMh257dTlYwQ6wdHK+84YlGKnR
s/3WME++p9U2FHT1uHbdh2mAtAFbSmsA2Hrs+5Lle0qjO6EFKwWL+Bd63Ag5vrOt
PEY0XkgFRCJUYXOXxpYc3rkprGkairrGLFpqbOjgZDwbrhsg9favChtwmj7SMqWg
RDredH4XmXqmg2FDWzhpwQVqJRMNHkgemFY9QcXB9coCoww11ikcYg==
=hcNd
-----END PGP SIGNATURE-----
--2+jOUFLb7N+7fooZ--