![]() |
|
|
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 |
| pERL SCRIPT FOR MONITORING DATE/TIME STAMPS FOR START AND STOP OF APPLICAION IN A LOG | FREDDIE091970 | Shell Programming and Scripting | 4 | 03-31-2008 10:59 PM |
| Processing a log file based on date/time input and the date/time on the log file | primp | Shell Programming and Scripting | 4 | 03-16-2008 11:23 AM |
| Execute a part of shell script only after particular date and time | fed.linuxgossip | Shell Programming and Scripting | 2 | 06-16-2007 10:04 PM |
| How do i collect date and time for list of files in a directory | laknar | Shell Programming and Scripting | 4 | 06-01-2007 01:31 PM |
| Script to display last login date/time? | ryaneverett5 | UNIX for Dummies Questions & Answers | 3 | 12-06-2001 05:21 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
Quote:
Code:
ls -ld /path/to/dir1 path/to/dir2 | awk '{print $8}'
So this will list the timestamp of the directories alone, assuming eighth field contains the timestamp |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|