Computing.Net > Forums > Unix > Timestamps of Files ???

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Timestamps of Files ???

Reply to Message Icon

Name: Stefanie
Date: July 31, 2002 at 04:44:45 Pacific
Comment:

Hi guys,

I badly need help. I need to get the date and time a specific file has last been modified.
This can be a Unix command or an Awk command.

Please help me, I'm going nuts over here.

Thanks a lot!

Steff



Sponsored Link
Ads by Google

Response Number 1
Name: basicfundas
Date: July 31, 2002 at 06:35:49 Pacific
Reply:

hi , try this

ls -l | tr -s " " " " | cut -d" " -f6-8



0

Response Number 2
Name: basicfundas
Date: July 31, 2002 at 06:37:01 Pacific
Reply:

ls -l filename | tr -s " " " " | cut -d" " -f6-8


0

Response Number 3
Name: Frank
Date: August 1, 2002 at 00:34:13 Pacific
Reply:

Hi Stefanie,

warum reicht ein "ls -la filename" nicht aus ?

Eine Änderung an einer datei hat auch ein update des datums zur folge.

Dieses kann man verschleiern in dem man mit touch das änderungs Datum zurücksetzt.

Welches Du wiederum kann man über eine verkettung von "find -atime -mtime " herrausbekommen.

No RISK no fun
Frank


0

Response Number 4
Name: mateo1211
Date: August 15, 2002 at 09:21:54 Pacific
Reply:

spoko


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Unix Forum Home


Sponsored links

Ads by Google


Results for: Timestamps of Files ???

sed dropping last line of file www.computing.net/answers/unix/sed-dropping-last-line-of-file/5125.html

Cat Start & End of File www.computing.net/answers/unix/cat-start-amp-end-of-file/6975.html

Count # of files with a string www.computing.net/answers/unix/count-of-files-with-a-string/7511.html