Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.os.linux.misc > #26757
| From | Andreas Kohlbach <ank@spamfence.net> |
|---|---|
| Newsgroups | comp.os.linux.misc |
| Subject | Re: ls question -- dirs only |
| Date | 2019-04-20 12:10 -0400 |
| Organization | https://news-commentaries.blogspot.com/ |
| Message-ID | <87pnpgmzd1.fsf@usenet.ankman.de> (permalink) |
| References | <d8592e3c-9c8c-4be8-a604-ba040e2b41b8@googlegroups.com> <q9dcq3$3jp$1@tncsrv09.home.tnetconsulting.net> <319d7419-faba-4b9e-9fee-c4f2bffb7275@googlegroups.com> |
On Fri, 19 Apr 2019 19:37:17 -0700 (PDT), pH wrote: > > On Friday, April 19, 2019 at 1:53:39 PM UTC-7, Grant Taylor wrote: >> On 4/19/19 2:22 PM, pH wrote: >> > Is there a way to make ls display only directories? >> >> try: >> >> ls -d */ >> > > That works here. Thanks. > I'm always impressed that there are so many ways to skin the cat and it helps that good old learning curve. And indeed you can always pipe the result from what ever you wanted through cat. ls -d */ | cat - You can add eight more " | cat -" after that to get nine lives of a cat. :-D -- Andreas My random thoughts and comments https://news-commentaries.blogspot.com/
Back to comp.os.linux.misc | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
ls question -- dirs only pH <wb6dwp@gmail.com> - 2019-04-19 13:22 -0700
Re: ls question -- dirs only Bit Twister <BitTwister@mouse-potato.com> - 2019-04-19 15:39 -0500
Re: ls question -- dirs only Lew Pitcher <lew.pitcher@digitalfreehold.ca> - 2019-04-19 16:51 -0400
Re: ls question -- dirs only Grant Taylor <gtaylor@tnetconsulting.net> - 2019-04-19 14:53 -0600
Re: ls question -- dirs only pH <wb6dwp@gmail.com> - 2019-04-19 19:37 -0700
Re: ls question -- dirs only Andreas Kohlbach <ank@spamfence.net> - 2019-04-20 12:10 -0400
Re: ls question -- dirs only "Carlos E. R." <robin_listas@es.invalid> - 2019-04-19 22:56 +0200
Re: ls question -- dirs only Robert Heller <heller@deepsoft.com> - 2019-04-19 16:18 -0500
Re: ls question -- dirs only Eli the Bearded <*@eli.users.panix.com> - 2019-04-19 21:28 +0000
Re: ls question -- dirs only Grant Taylor <gtaylor@tnetconsulting.net> - 2019-04-19 20:41 -0600
Re: ls question -- dirs only The Natural Philosopher <tnp@invalid.invalid> - 2019-04-20 09:30 +0100
csiph-web