clean junk files ubuntu command line code example Example 1: clean command linux sudo apt-get autoclean Example 2: cleaning up your ubuntu system sudo apt-get autoremove