Re: List (sub) directories
From: Chris F.A. Johnson (cfajohnson_at_gmail.com)
Date: 02/16/05
- Next message: Chris F.A. Johnson: "Re: convert to uppercase or lowercase"
- Previous message: Chris F.A. Johnson: "Re: encrypt/decrypt in shell script"
- Maybe in reply to: Stachu 'Dozzie' K.: "Re: List (sub) directories"
- Next in thread: Chris F.A. Johnson: "Re: List (sub) directories"
- Reply: Chris F.A. Johnson: "Re: List (sub) directories"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 16 Feb 2005 04:32:13 GMT
On Tue, 15 Feb 2005 at 19:23 GMT, 50295@web.de wrote:
> Is there a command like ls that lists only the sub-directores of the
> current dirctory? I am not interested in files
In a POSIX shell (bash, ksh, ash, etc):
ls */
In a Bourne shell:
ls */.
--
Chris F.A. Johnson http://cfaj.freeshell.org/shell
===================================================================
My code (if any) in this post is copyright 2005, Chris F.A. Johnson
and may be copied under the terms of the GNU General Public License
- Next message: Chris F.A. Johnson: "Re: convert to uppercase or lowercase"
- Previous message: Chris F.A. Johnson: "Re: encrypt/decrypt in shell script"
- Maybe in reply to: Stachu 'Dozzie' K.: "Re: List (sub) directories"
- Next in thread: Chris F.A. Johnson: "Re: List (sub) directories"
- Reply: Chris F.A. Johnson: "Re: List (sub) directories"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|