ubuntu clean disk space code example Example 1: create space on ubuntu sudo apt-get autoremove Example 2: ubuntu server clean up disk space sudo apt install ncdu ncdu