clear cache ubuntu 20.04 code example
Example 1: remove all cache ubuntu
$ sudo apt-get clean
Example 2: delete cash on ubuntu
//delete cash //
systemd-resolve --statistics
systemd-resolve --flush-caches
$ sudo apt-get clean
//delete cash //
systemd-resolve --statistics
systemd-resolve --flush-caches