Re: Pls help with Unix shell question
From: Michael Tosch (eedmit_at_NO.eed.SPAM.ericsson.PLS.se)
Date: 03/05/04
- Next message: Chris F.A. Johnson: "Re: Pls help with Unix shell question"
- Previous message: Michael Heiming: "Re: Pls help with Unix shell question"
- In reply to: wl: "Pls help with Unix shell question"
- Next in thread: Ross Tucker: "Re: Pls help with Unix shell question"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 5 Mar 2004 17:15:06 GMT
In article <aI02c.33676$hm4.26678@newsread3.news.atl.earthlink.net>, "wl" <bli01@yahoo.com> writes:
> Hi all,
>
> Not having worked with Unix script for a while, suddenly, I
> have a need. The only thing I can do on Unix now is "vi", which I guess I
> will never forget.
>
> I have a bunch of files, ending with ".data" in a Unix directory, which I
> want to process in date order with a program. I recall doing
> something similar in the old days. Does anyone have an example?
>
> Thanks,
> Bill
>
>
maybe you want
ls -t *.data | program
ls -lt
shows how it is sorted.
ls -ltr
sorts backwards.
Man pages:
man ls
-- Michael Tosch IT Specialist HP Managed Services Germany Phone +49 2407 575 313 Mail: michael.tosch@hp.com
- Next message: Chris F.A. Johnson: "Re: Pls help with Unix shell question"
- Previous message: Michael Heiming: "Re: Pls help with Unix shell question"
- In reply to: wl: "Pls help with Unix shell question"
- Next in thread: Ross Tucker: "Re: Pls help with Unix shell question"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|