[Gllug] Last Modified

Alistair Mann alistair at lgeezer.net
Sun Jan 25 07:42:47 UTC 2004


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Thus spaketh Simon Faulkner on Saturday 24 January 2004 8:05 pm:
> How might I display the details of the last modified file in a directory
> tree?

Assuming you mean just the details of that last file, you'd use

ls -ltr | tail -1

Remove the pipe and tail -1 for all files in modification time order.
- -- 
Alistair
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)
Comment: As seen at http://search.keyserver.net

iD8DBQFAE3N7Ez+/jt85AfsRAoHAAJ4lPt8s77XUVvAeHZVehdyWR9qk0QCeNjPP
vwQbmBbHPe0lDUWguqcsBhw=
=0J6T
-----END PGP SIGNATURE-----

-- 
Gllug mailing list  -  Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug




More information about the GLLUG mailing list