可能取决于您的发行版,但此参数ls在 Debian 中可用:
--time-style=STYLE
with -l, show times using style STYLE: full-iso, long-iso, iso,
locale, +FORMAT. FORMAT is interpreted like `date'; if FORMAT
is FORMAT1<newline>FORMAT2, FORMAT1 applies to non-recent files
and FORMAT2 to recent files; if STYLE is prefixed with `posix-',
STYLE takes effect only outside the POSIX locale
Run Code Online (Sandbox Code Playgroud)
尝试
man ls
Run Code Online (Sandbox Code Playgroud)
从你的命令行