command to delete cache in linux ubuntu code example Example: remove all cache ubuntu $ sudo apt-get clean