Today I Learned

2022/04/29

ubuntu debian sh shell

how to check the last apt update time:

last_update="$(stat --format=%Y /var/cache/apt/pkgcache.bin)"

https://askubuntu.com/a/410259/505362