How Does Linux Mtime Work?
Contents

Modified timestamp (mtime) indicates the last time the contents of a file were modified. For example, if new contents were added, deleted, or replaced in a file, the modified timestamp is changed. To view the modified timestamp, we can simple use the ls command with -l option.

Where is Mtime in Linux?

The ls program will display mtime if you use “ls -l”. And you can get atime or ctime with “ls -lu” or “ls -lc”.

What does Mtime +1 mean?

The -1 here means changed 1 day or less ago. find . – mtime -1 -ls.

James H. Sterling

James H. Sterling

Environmental Science & Climate Journalist

James Sterling reports on renewable energy developments, climate policy, ecological conservation, and green tech innovations around the globe.

Share this article
Twitter Facebook Pinterest