Supported time types for the displayed files from ls
Three types of time are supported for files stored on Linux, which can be accessed via the ls
command.
mtime
: time of last modification of file contents. Whenls -l
is called, this is displayed by default. Possible options forls
are as follows.-t
: do not show time and sort bymtime
.-l
: showmtime
and sort by file name.-l -t
: showmtime
and sort bymtime
.
atime
: file access time.-u
: do not show time and sort byatime
.-l -u
: showatime
and sort by file name.-l -t -u
: showatime
and sort byatime
.
ctime
: time of last modification of file status information.-c
: do not show time and sort byctime
.-l -c
: showctime
and sort by file name.-l -t -c
: showctime
and sort byctime
.
Furthermore, if the option --full-time
is present, the full-ISO format of the date and time will be displayed.