![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| AIX AIX is IBM's industry-leading UNIX operating system that meets the demands of applications that businesses rely upon in today's marketplace. |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How to find out the Process ID for particular one file | Bhuvan | Linux | 4 | 09-09-2008 09:32 AM |
| Process all file | nazri76 | Shell Programming and Scripting | 2 | 09-21-2007 11:10 PM |
| how to kill process from file | naamas03 | Shell Programming and Scripting | 17 | 11-07-2005 01:14 AM |
| how to kill process from file | naamas03 | Post Here to Contact Site Administrators and Moderators | 1 | 09-16-2005 05:03 AM |
| process on file | FastMagister | High Level Programming | 0 | 06-20-2004 09:13 AM |
|
|
Submit Tools | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
process the old file first
hello
i have direcotry in which i will be getting a number of input files with different names and i need to write a script where i need to process the older file first and then come out of the loop. can any one throw some light appreciate |
| Forum Sponsor | ||
|
|
|
#2
|
|||
|
|||
|
My upolished way of doing it is
ls -1atr|tail -1 I'm sure there is an elegant way, but I'm not an elegant SA. |
|
#3
|
|||
|
|||
|
Oops. You want older file first. Here is the change.
ls -1at |tail -1 |
|||
| Google The UNIX and Linux Forums |