Skip to main content

Modified Time of a File

Show only modified time of a file:

stat -c %y filename

Human-readable format:

stat -c %y filename | cut -d'.' -f1