🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.windows.x.kde
Article #16

Re: Listing Problem?

#16
From: Boaz Rymland
Date: Mon, 26 Jul 1999 00:00
33 lines
1785 bytes
I don't think anyone on comp.windows.x.kde will sit down to write you the
whole answer as it is long (if made "as it should") and also, yep,
OFF-TOPIC.

But, I hate rude people who just wait for Q's like your's to flame others,
so here is the short reply with references to some more info. DO check also
some tutorials for Linux as some must have this.

Basically what you're looking for is: dir/p = ls | more (that's a "pipe"
there to "redirection" of the output of ls to the input of more. check 'man
more').
Wanna ask me for the best "dir" operation on Linux? I do it like that:
in /etc/bashrc:
    alias l='ls -laF --color | more'
when I type 'l' on the prompt of my shell, I get the whole 'ls -laF --color
| more' sequence automatically.

For dir *.exe, do "ls | grep .exe" (man grep. BTW, grep is a powerful and
commonly used command)

Hope it helps,
Boaz.

Alok R Saboo wrote:

> Hello,
>          Is there any command in Linux similar to "dir/s" option in DOS?
> Suppose we want to list all files with extension .EXE we could give "dir
> *.exe/s" in DOS, what is the substitute command for Linux?
>
> Thanx,
>
> From Alok.
Technical Details
Message-ID: <379C8C0A.28D58663@bigfoot.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <7nht79$pa7$5@news.vsnl.net.in>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10baf0,883e797685fe631d
X-Google-Attributes: gid10baf0,public
X-Google-Thread: 11663c,883e797685fe631d
X-Google-Attributes: gid11663c,public
From: Boaz Rymland <boazr@bigfoot.com>
Subject: Re: Listing Problem?
Date: 1999/07/26
Message-ID: <379C8C0A.28D58663@bigfoot.com>
X-Deja-AN: 505424374
Content-Transfer-Encoding: 7bit
References: <7nht79$pa7$5@news.vsnl.net.in>
X-Accept-Language: en
Content-Type: text/plain; charset=us-ascii
Organization: .
Mime-Version: 1.0
Reply-To: boazr@bigfoot.com
Newsgroups: comp.windows.x.kde,dc.org.linux-users