[lug] Determine mtime

Hugh Brown hugh at math.byu.edu
Mon Jun 23 21:32:29 MDT 2003

>  Does anyone know of a way to determine the mtime of a file using 
> bash, 
> TIA,
> John

on this redhat 9 system there is a command called stat that can give you
all sorts of info about a file.  To get mtime, do 

stat -c %y <filename>


More information about the LUG mailing list