On Thu, Nov 11, 2004 at 11:42:29AM -0500, Tong wrote:
> Thanks everybody for the respond.
>
> On Thu, 11 Nov 2004 09:57:21 -0500, Sudarshana Koushik wrote:
>
> > Hang on ppl. Whats wrong with what one of previous posts
> > suggestedjust use ls -d */ (dont forget the '/')
>
> Yes, I think thi
Your default locale setting is probably different between RH and Debian?
Try the following:
LANG=C ls -l | grep ^d | cut -c55-
Ashleyb
- Original Message -
From: "Tong" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, November 09, 2004 10:09 PM
Subject:
On Thu, Nov 11, 2004 at 02:23:13PM -0500, Tong wrote:
> On Tue, 09 Nov 2004 16:56:06 -0600, Alex Malinovich wrote:
> > To get a list of directories in the CURRENT directory, just do:
> >
> > ls -d */
>
> Ok, the problem of directories names solved. Now, how about links?
I don't know of an easy
On Tue, 09 Nov 2004 16:56:06 -0600, Alex Malinovich wrote:
>> I used to use the following command/alias to get the names under the
>> current directory in RH:
>>
>> ls -l | grep ^d | cut -c57-
>
> To get a list of directories in the CURRENT directory, just do:
>
> ls -d */
Ok, the problem of
Thanks everybody for the respond.
On Thu, 11 Nov 2004 09:57:21 -0500, Sudarshana Koushik wrote:
> Hang on ppl. Whats wrong with what one of previous posts
> suggestedjust use ls -d */ (dont forget the '/')
Yes, I think this is the most elegant solution (should be much much faster
than the fi
Hang on ppl. Whats wrong with what one of previous posts
suggestedjust use ls -d */ (dont forget the '/')
-- Sud
accident, n.: An inevitable occurrence due to the action of immutable natural
laws. -- Ambrose Bierce, The Devil's Dictionary
--
To UNSUBSCRIBE, email to [EMAIL PROTECT
On Tue, Nov 09, 2004 at 10:32:40PM -0500, Travis Crump wrote:
> David Jardine wrote:
> >On Tue, Nov 09, 2004 at 05:09:51PM -0500, Tong wrote:
> >
> >>Hi,
> >>
> >>I used to use the following command/alias to get the names under the
> >>current directory in RH:
> >>
> >>ls -l | grep ^d | cut -c57-
On Tue, 09 Nov 2004 17:09:51 -0500, Tong wrote:
> I used to use the following command/alias to get the names under the
> current directory in RH:
>
> ls -l | grep ^d | cut -c57-
find . -type d -name -print
> but in Debian, the position of the file name is not fixed.
Using 'ls', if the direc
David Jardine wrote:
On Tue, Nov 09, 2004 at 05:09:51PM -0500, Tong wrote:
Hi,
I used to use the following command/alias to get the names under the
current directory in RH:
ls -l | grep ^d | cut -c57-
but in Debian, the position of the file name is not fixed.
It is for me, and the above comman
On Tue, Nov 09, 2004 at 05:09:51PM -0500, Tong wrote:
> Hi,
>
> I used to use the following command/alias to get the names under the
> current directory in RH:
>
> ls -l | grep ^d | cut -c57-
>
> but in Debian, the position of the file name is not fixed.
>
> How do you get it? Thanks
find .
On Tue, Nov 09, 2004 at 05:09:51PM -0500, Tong wrote:
> Hi,
>
> I used to use the following command/alias to get the names under the
> current directory in RH:
>
> ls -l | grep ^d | cut -c57-
>
> but in Debian, the position of the file name is not fixed.
It is for me, and the above command w
Incoming from Alex Malinovich:
> On Tue, 2004-11-09 at 17:09 -0500, Tong wrote:
> >
> > I used to use the following command/alias to get the names under the
> > current directory in RH:
> >
> > ls -l | grep ^d | cut -c57-
> >
> > but in Debian, the position of the file name is not fixed.
> >
On Tue, 2004-11-09 at 17:09 -0500, Tong wrote:
> Hi,
>
> I used to use the following command/alias to get the names under the
> current directory in RH:
>
> ls -l | grep ^d | cut -c57-
>
> but in Debian, the position of the file name is not fixed.
>
> How do you get it? Thanks
I'm not sure
Hi,
I used to use the following command/alias to get the names under the
current directory in RH:
ls -l | grep ^d | cut -c57-
but in Debian, the position of the file name is not fixed.
How do you get it? Thanks
tong
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsu
14 matches
Mail list logo