![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Shell Script problem in sun 5. 9 | babu.knb | SUN Solaris | 4 | 10-01-2008 08:45 AM |
| problem in shell script | girish.batra | Shell Programming and Scripting | 5 | 02-18-2008 02:27 AM |
| Problem with SU or SSH in shell script | sravanp | UNIX for Dummies Questions & Answers | 2 | 01-24-2006 12:00 PM |
| shell script problem | jayaram_miryabb | Shell Programming and Scripting | 1 | 03-09-2005 06:38 AM |
| Problem with shell script | nattynatty | Shell Programming and Scripting | 4 | 04-09-2002 04:30 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
Problem with shell script
Here is the code: Code:
find `pwd`/$1/ -name "*.*" -exec ls -l {} \;
It finds all the files of a given directory with last modified time. Any ideas how I could sort them by modified times (older ones first) Thanks in advance! |
|
||||
|
Already tried that before and it doesn't work. As I understand it still uses find as the main command and when recursively going through the lines the ls just adds the rest of the information in addition to the file path.
So thanks anyway but any more suggestions? Last edited by Muki101; 11-04-2008 at 05:37 PM.. |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|