= Linux ls
== último acceso
Cuando estás copiando y el fichero guarda la fecha original de creación, pero quieres ver la fecha de último acceso
ls -lu --time=ctime
* %%--time=atime%% : updated when the file is read
* %%--time=birth%% : updated when the file contents change. This is the "default" file time in most cases. (mtime)
* %%--time=ctime%% : updated when the file or its metadata (owner, permissions) change
-u - with -lt: sort by, and show, access time;
- with -l: show access time and sort by name;
- otherwise: sort by access time, newest first
Valid arguments are:
- ‘atime’, ‘access’, ‘use’
- ‘ctime’, ‘status’
- ‘birth’, ‘creation’
Try 'ls --help' for more information.
/via: [[https://unix.stackexchange.com/questions/8840/last-time-file-opened]]