3 lines
152 B
Plaintext
3 lines
152 B
Plaintext
|
head -n1 /var/log/pacman.log
|
||
|
echo $(($(($(date +%s) - $(date -d "$(head -1 /var/log/pacman.log | cut -d ' ' -f 1,2 | tr -d '[]')" +%s))) / 86400)) days
|