Love is the best guide to chose right from wrong
Advertise on this site  
Read and enjoy hundreds of helpful earlier posts by categories:
My Love Love Secrets of Love Help Internet SEO Linux admin Funny jokes Fun Kriya Yoga Christmas Editors pick
Philippines Cambodia Business solutions Alternate lifestyle Life and death Politics and God Chat
Deutschsprachige Posts zu folgenden Kategorien:
Liebe Weihnachten Reisen
Anteriores artículos de blog en español:
Dios y amor
Google
 

[Linux admin]Received Thu, 16 Jun 2005 16:30:53 PHT

Last modified - linux - howto find or know the "file last modified" information for any file

Last modified
- linux
- howto find or know the "file last modified" information for any file


in shell - enter

date --iso-8601=seconds -u -r /path-to/file.html


--iso-8601=seconds
TIMESPEC=`date' with the desired precision - here seconds
--iso-8601=minutes - would show last modified time in minutes only

-r
display the last modification time of FILE

-u
print or set Coordinated Universal Time i.e. GMT



for full details see

man date

the complete command

date --iso-8601=seconds -u -r /root/post_18.txt

gives you exactly the format Google sitemap needs - and eventually other major search engines as well - for the "file last modified information"


god bless

hans
Home

Kriya Yoga, God and Love = Cyberspace Ashram

Internet Blogs - Blog Top Sites Religion blogs Internet Blogs Blog Submission Blog Top List Love