Trovare files più vecchi di una certa data

Trova tutti i files jpg nella directory cache più vecchi di 90 giorni: find /var/www/html/cache/ -name "*.jpg" -type f -mtime +90 -exec ls -al {} ; [Read More]
Tags: data, date, days, eliminare, files, older, trovare, vecchi

Quanti watt consuma il tuo notebook ?

sudo apt-get install powertop dstat Staccare il pc dall’alimentazione e: dstat --time --power --battery --battery-remain 10
Tags: consumo, Linux, measure, misurare, notebook, power, watt

Device or resource busy

Se mentre stai cancellando un file, ti appare questo errore: device or resource busy , con un comando puoi vedere quale servizio sta utilizzando quel file: lsof +D /path
Tags: busy, device, lsof, resource