View this PageEdit this PageUploads to this PageVersions of this PageHomeRecent ChangesSearchHelp Guide

Buscar los logs que no rotan en una máquina UNIX


Basta con la squiente script:


$ cat busca-logs.sh
#!/bin/sh
find . -printf '%10k %h/%f\n' | sort -r
$


Y se ejecutaria como

$ ./busca-logs.sh | more