Clean disk space cmd. answered Nov 24, 2023 at 15:39.
To verify the changes or if it is already enabled use the command below. 3 Type following command and press Enter key: cipher /w:folder path. and press Enter to return to the root directory. Under the "System Restore and Shadow Copies" section, click the Clean up button. When launched, Disk Cleanup tool opens with all checkboxes checked by default. This topic shows how to use these prune commands. Step 3: In the elevated window, type the commands below and hit Enter after each. , xfs, ext2, ext3, btrfs, etc. For me zackasattackas / DiskCleanupPS. sudo apt-get autoclean. Type cleanmgr, and hit Enter. (see Mar 18, 2024 · Once, ncdu is installed, we simply type the command followed by the path that we want to analyze: $ ncdu /home/hey. Sep 24, 2023 · Click the Cortana icon or the Search icon on the Taskbar and start typing “command prompt. For eg. Go to Explorer and navigate to “This PC“. Type df and press enter in a Bash terminal window to get started. Within the man pages, you’ll find the explanation for how to securely erase a disk’s free space using diskutil Jul 5, 2021 · Here are the steps to clean up disk space in Linux. You can use these steps on almost all distributions. Desktop VMWare products: Edit your VM Settings and look for disk options to "Clean up" or "Compact" your disk. Temp files, Internet files, downloaded files, and Recycle Bin files can all be cleared using command-line parameters. Using software or manually deleting files. Then, you should input Apr 18, 2023 · Select the drive (s) you want to erase and click Continue. $ sudo apt-get install bleachbit. Type cleanmgr in the Open box. Extends the volume or partition with focus, along with its file system, into free (unallocated) space on a disk. It offers a quick way to remove temporary, cache How to run disk cleanup from the command prompt. Select the Run shortcut. Nov 28, 2023 · Command-line version of Disk Cleanup Utility or Cleanmgr. 1. We can navigate through the file system using the arrow keys, <L> to enter a directory, <H> to go back, and <D> to delete a file or a directory. Remove Unused Repositories. 2 Open an elevated command prompt. 3. Clean up Flatpak Runtime/Cache. In your cmd window or batch file you can add: powershell "Get-PSDrive -PSProvider FileSystem". Dec 2, 2022 · Examine the command’s output to determine the files to delete. 2 If you have more than one drive or partition on your PC, then select the Windows C: drive or the drive letter you wanted to clean, and click/tap on OK. Select the items you'd like to delete. Remove Snap-based Outdated Packages. Now, you have two ways to clean the APT cache. 0+) Jan 20, 2022 · Here you need to type the disk number that you want to delete. Right-click on the unallocated space and choose "New Simple Volume". new filename. Under Files to delete, select the file types to get rid of. Do it regularly and you'll have a healthy system with decent free disk space. This is the most basic command of all; df can display free disk space. Type diskpart and hit Enter. Take note of the disk number of the disk with the volume you want to extend. Before. Type the following command to open Diskpart and press Enter: diskpart. For that, simply type the command clean. Exits the diskpart command interpreter. Feb 15, 2013 · To do this click on start and open an administrative command prompt. Select OK. Open the Start menu and go to "Accessories". 3. In this guide, I will show you the following ways to free up space in Ubuntu: Nov 21, 2022 · To erase and repair a hard drive on Windows 11 with DiskPart, use these steps: Open Start on Windows 11. Select the “Terminal (Admin)” option. Dec 6, 2022 · Firstly, show your desktop and double-click This PC to launch File Explorer. Type cmd in the Open box and click OK . Press Windows + R keys, type cmd in the Run dialogue, and hit Enter. Manage the Component Store. Advertisement. Select the drive you want to clean up, and then select OK. config: { 'aggressive-cleaning': True, } Run disk-usage cleanup command (PAN-OS 8. Jul 20, 2021 · When you have an entire disk to wipe clean, you can use the diskpart clean command to convert all the stored data into unallocated space. This solution has the advantage that the drive used/free measurement units are in GB, so easier to understand, versus bytes. Clean up broken shortcuts. Choose whichever appears in the menu — any will work. The most basic strategy is to identify and delete any unnecessary files that consume lot of space. Jan 18, 2024 · To run the Disk Cleanup app so that you can use its dialog box to specify options for use later, saving the settings to the set 1, type the following: Copy. Search for Command Prompt, right-click the top result, and select the Run as administrator option. Run Disk Cleanup (e. Jun 26, 2010 · In Windows , we can find free space of a disk drive using fsutil command. Use command “df -h” to display the disk space in a human-readable form: #df -h. The command prompt provides access to some simple, yet powerful, options for cleaning and optimizing your hard disk. Delete Big files. Here are the steps: Right-click on the start icon. Right-click on "Command Prompt" and choose "Run as Administrator". Mar 18, 2022 · To delete system files run the steps as provided in Delete files using Disk Cleanup. Step 2: Type diskpart in the window and hit Enter. Related topics. Jan 31, 2020 · After placing these files in their proper directory, you can open a command prompt and just type “cleanmgr” to launch the Disk Cleanup application. To get a description of the file type, select it. Or you can press the “WIN+R”, type “cmd” and press Enter. In the command, make sure to replace "PARTITION-LETTER" with the letter of Aug 18, 2017 · The Disk Cleanup tool has been around in Windows for years. Determine the Actual Size of the WinSxS Folder. Just boot using a LiveCD/LiveUSB and (re-)install Ubuntu. For each file, run the following commands, where filename represents the file’s name. Now a list of the disks will be shown, type select disk x (the X is the disk number that has an unallocated space) and hit Enter. 0 GB; Total Space Mar 19, 2021 · Click on the Windows start button, type cleanmgr and select Disk Cleanup. This command should hopefully recover a good amount of disk space, as shown in the following screenshot. . In any given use, it allows you to delete one or more files and/or directories, or to cleanse the free space on a logical disk. Scroll down to the Free up space now section, check or uncheck Delete previous versions of Windows (if available) for what you want, and click/tap on the Clean now button. If the disk contains half of a mirrored volume, the half of the mirror on the disk is deleted. Install BleachBit on Linux Nov 14, 2017 · Deleting free disk space securely. Here are the basic steps: Open the command prompt – Press the Windows key + R, type “cmd”, and press Enter. Check "I allow this utility . df. Nov 14, 2019 · What happens when you run the above command is you’ll be presented with the cleanmgr. Jun 20, 2024 · In this guide, I’ll show you how to use Diskpart and its commands to create, format, delete, hide, and unhide partitions. Windows PowerShell will open in admin mode. To start the Disk Cleanup tool and specify the hard disk to be cleaned by using the command line, follow these steps: Click Start, and then click Run. Type the following command to determine the drive to format and press Apr 6, 2023 · Use the command below to see whether any files older than 40 days are still present: #find * -mtime +40. Ex: C:\>fsutil volume diskfree e: Total # of free bytes : 45569585152 Total # of bytes : 52427898880 Total # of avail free bytes : 45569585152. To check your machine's disk usage and see how much free space is left, you can run the following command in your terminal: df -h. Sep 13, 2012 · sudo apt-get autoremove. Click the check-boxes to select the files that you want to remove and click OK to begin. Jun 19, 2023 · Open Command Prompt with admin privileges by typing cmd in the search box, right-click on the command prompt and click on the run as administrator. That should be sufficient. Being a built-in command-line tool, you can use Diskpart from the Command Prompt or terminal. To check available disk space, open a PowerShell command line and enter this command (replacing <distribution-name> with the actual distribution name): wsl. The base command sdelete -c <drive letter> deletes free disk space on the specified drive securely. You can find and open files, system tools, and third-party software on your PC with Windows 11’s search tool. Steps to run Disk Cleanup in Windows 10 to clean up C drive: 1. List folders by size. How to clean your disk using command prompt CMD or PowerShell admin, with diskpart. cleanmgr /sagerun:1. Edit. This will list all the hard drives in the system. The switch we are going to be using is the /w switch. To run Disk Cleanup and include the options that you specified with the cleanmgr /sageset:1 command, type: Copy. You check the disk space and find yourself left with less than a GB or so. Select the files you want to delete and click "Clean Up System Files. To begin, open an elevated command prompt, type cleanmgr /sageset:n – where n can be any integer between 1 and 255. Then right click on cmd. First with all zero’s – 0x00. exe /lowdisk /d c. May 23, 2024 · Fix #3: Run Disk Cleanup. Important: note the Disk number (such as Disk 1). Jan 3, 2020 · The df command stands for "disk-free," and shows available and used disk space on the Linux system. Feb 3, 2023 · Enables DiskPart to delete all simple volumes on the disk. This command’s syntax is shown below. CLEANMGR /sagerun:64. Click Start, type “cmd”, right click the program and select “Run as Administrator” to open the command prompt. Copy. Under the "Devices and drives" section, right-click the "Local Disk" drive and Sep 19, 2021 · To find out about diskutil in detail, type man diskutil at the Terminal prompt. To discover what's taking up the used disk space, use du (disk usage). if it contains files. cleanmgr /sageset:1. You can combine the /D argument with other switches of cleanmgr. n represents the disk number. Now, type create partition primary size=x (The X is the number that you got Important: note the Disk number (such as Disk 1). Run the following: By default, df displays values in 1- kilobyte blocks. exe. Next, in the Disk Cleanup window, select all the files you want to delete and click OK. Jun 12, 2023 · Turn on the switch for Storage Sense and then click the Configure Storage sense or run it now link right below it. (Image credit: Tom's Hardware) The system Command Line Methods to Clean Up Disk Space on Ubuntu 22. This lists all the filesystems mounted on your machine, where they are located, their size, how much storage space is used, and how much storage space is available. The target disk has been selected! Now, you need to delete the entire disk. If your system contains both a boot drive and a data drive, you'll Aug 12, 2014 · In Windows. Then, click Command Prompt under Best match. Prune images. list disk. When your hard drive like C drive keeps filling up, you can go ahead and use Disk Cleanup to free disk space. To overwrite the deallocated data:1 Quit all programs. 1 Press the Win + R keys to open the Run dialog, type cleanmgr or cleanmgr /lowdisk (all items checked) into Run, and click/tap on OK to open Disk Cleanup. debug-sw-du. Step 2: Copy-paste the following path in the textbox and click on Next. Open a Command Prompt window. You will see a list of all available hard disks, including external ones. If you want the process to start automatically, use the switch /VERYLOWDISK instead. After completing the steps, you will Oct 12, 2014 · Open the Command Prompt as Administrator. Since you’re using the Disk Cleanup tool to remove the windows. 9. Jan 4, 2023 · Click the More Options tab. (Image credit: Future) Click the Delete button. To release the file lock, restart the service that created the file. 3 Make any changes you want to the Storage Sense settings. g. Finally, click on Delete Files to confirm the action. The free space indicated in diskpart means "space Important: note the Disk number (such as Disk 1). Next, identify a volume by running the list volume command, or execute the detail disk command to view information about the disk and its associated volumes. Step 3: Enter select disk n. May 5, 2020 · Here's a useful command that can be used to only keep the 2 latest kernels installed, thus removing the previous ones: Shell. Click OK to bring up the Disk Clean-Up. At the prompt, type "diskpart" and hit Enter. The good thing is that you can employ a few tricks to free up space on Ubuntu. 04. Choose Y to continue. Clean up package management systems (e. exe and run as administrator. Mar 5, 2020 · Install Bleachbit. The Sagerun:1 indicates it will perform disk cleanup only once. How to address disk space issues that are caused by a large Windows component store (WinSxS) directory May 12, 2023 · To clean disk with Diskpart command line, you can refer to the following steps. exe --system -d <distribution-name> df -h /mnt/wslg/distro If Aug 23, 2022 · Remove Unwanted Files on Windows Using Disk Cleanup. Input “diskmgmt. You need special tools to display this. Click on This PC from the left pane. The output has several columns: Filesystem. Simple guide is shown below: Step 1. Step 2. Click OK to start the cleaning process. This uses the Clean All command that will remove all partitions and data Mar 11, 2024 · Steps for running the Diskpart clean command. Jan 26, 2017 · 1. (see screenshot Oct 7, 2019 · EXAMPLE: Cipher command usage. How to manage disks in CMD or Powershell. I’ll also show you how to use Chkdsk to check partitions for errors and Defrag to optimize them. Select the file types to get rid of. Remove Temporary Files. Determine disk to wipe-out number, note that disks are counted from 0. Now, choose Properties. For example, let’s say you have used “diskutil list” to show all of mounted drives on a Mac from the command line, and you have determined the appropriate drive to erase is identified as /dev/disk6s2 May 22, 2023 · To run CHKDSK on a different drive, type chkdsk [drive letter]: /f, replacing [drive letter] with the letter of the drive you want to scan. Clear the memory and swap space. , apt and yum). Input cd \. find / -size +50M -type f -exec du -h {} \; | sort -n. answered Nov 24, 2023 at 15:39. To begin cleaning your PC, launch the Disk Cleanup tool. sync. To run Disk Cleanup this way regularly, you can create a shortcut which can be run from the Windows Startup folder or via a regular schedule. Jul 9, 2022 · To Open and Use Disk Cleanup. Type “diskpart” and press Enter. Nov 10, 2023 · Check the amount of disk space available in the VHD for a Linux distribution installed with WSL 2 by using the Linux Df command. exe /d Drive Note In this command, the placeholder Drive represents the drive letter of the hard Jun 21, 2024 · Here is how to use Command Prompt to clean your hard drive and wipe the whole disk: Step 1: In the CMD window, type diskpart and press Enter key to continue. (Image credit: Tom's Hardware) 9. Here’s more info on how it works and how to set it up to meet your needs. Nov 25, 2020 · Checking disk usage and free disk space. Command line interface for automated disk cleaning. May 12, 2023 · To wipe disk unallocated space with Cipher. Jul 11, 2024 · Step 1: Right-click anywhere in the empty desktop area and select New > Shortcut. df -h shows disk space in human-readable format. You can do that by opening the "Start" menu, searching for "Disk Cleanup", and selecting the app in the search results. tail -5000 filename > filename. Start the command line window as administrator, and type: C:\ diskpart. Apr 8, 2020 · To Free Up Disk Space Now with Storage Sense. mv filename. " and click Start Erase . Oct 3, 2023 · Launch Diskpart. Where F is the letter of the drive you want to securely overwrite the free space on. cleanmgr. Share. If you want to wipe the disk before reinstalling, you can write zeros across the complete disk using the LiveCD/LiveUSB, a terminal, and the dd command. exe /SAGESET. Remove Old Kernel/Configurations of Unused Packages. df -T shows the disk usage along with each block's filesystem type (e. Used Space – 186. Removes items missed by Windows Disk Cleanup and other popular tools. In the Capacity section, press the Disk Cleanup button. Type dir in the Command Prompt and press Return . Download, install and run PatchCleaner to delete orphaned files. Then list available disks: DISKPART> list disk. This operation deletes all data on the disk by writing zeros on each disk sector. May 9, 2024 · The command is not a recovery command but you can use it to create new partitions on the drive, making the cleaned drive or USB, SD card usable again: Step 1. Step 3 Manage drive space with Storage Sense. On the small pop-up window that comes up, choose the drive you want to clean up and click OK. For example, to repair the D drive, enter chkdsk D: /f. Nov 9, 2018 · However, all that's needed to securely wipe the free space on a hard drive is cipher's /w switch: cipher /w:C: Note that cipher 's syntax is slightly odd in that it requires one colon after the /w switch, followed by the drive letter of the volume that you want to securely wipe. Run the following command, replacing X with the drive letter of the drive you want to wipe free Important: note the Disk number (such as Disk 1). A binary PowerShell module containing cmdlets for performing various disk cleanup tasks. 1 Open Settings, and click/tap on the System icon. Sep 20, 2018 · After we reboot, a Disk Cleanup option can be found under Start --> All Programs --> Accessories --> System Tools: On launch, Disk Cleanup prompts for the drive you want to clean up: After clicking Ok, a scan is performed: Several options are provided for cleanup, including a new option for Windows Update Cleanup: May 8, 2024 · Method 1: Check Disk Space via df Command. Use the tool in both regular and superuser mode. In addition, you can use docker system prune to clean up multiple types of objects at once. Newer ESXi with VMFS volumes version 6 or above: Give it time and it should auto-compact. Make your choices and then click the Close button. ls -la /myfilesystem/subdir. Here is how to go about it. Remove Unused Packages. " Clear DNS cache by opening Command Prompt as an admin and running the command "ipconfig /flushDNS. Storage Sense can automatically free up drive space for you by getting rid of items that you don't need, like temporary files and items in your Recycle Bin. Run Bleachbit: $ sudo bleachbit. Open Disk Clean-Up With Windows 11’s Search Tool. As well as use the tool bleachbit which will be the awesome space saver. 4. Next, press Ctrl+Shift+Enter. C:\WINDOWS\system32\cleanmgr. The df ( d isk f ree) command lets you check disk space in Linux and shows the amount of space taken up by different drives. You'll see a lot of output similar to the Choose a set of options for cleanup (this will display the GUI) and Save as settings group #64: CLEANMGR /sageset:64. Selecting Drive to Clean Up. This Disk Cleanup Settings dialog is where you would tick the various selections that you want the tool to clean for you. Aug 30, 2016 · The basic syntax for erasing a disk from the command line in macOS is as follows: diskutil eraseDisk FILE_SYSTEM DISK_NAME DISK_IDENTIFIER. Run the saved settings group #64. These instructions also apply to the fully loaded version of Windows Server 2019 (full GUI), as well as previous versions. Disk Cleanup is a built-in tool that deletes temporary and unimportant files. Or delete apt cache in its entirety (frees more disk space): sudo apt-get clean. In powershell, run following commands. exe /d Drive Note In this command, the placeholder Drive represents the drive letter of the hard Dec 15, 2020 · 0. Expands a virtual hard disk (VHD) to the size that you specify. To open the Command Prompt on a Windows Vista or Windows 7 machine click on Start and type cmd in the search bar. Sep 27, 2023 · Perform disk Cleanup. > show system state | match aggressive-cleaning cfg. Oct 1, 2023 · How to Use the Command Prompt for Disk Cleaning. Navigate to the Devices and drives section and right-click on the disk you wish to clean. There may be special types of filesystems that use/reserve space on a disk that is not visible to the ls command. At the diskpart prompt type "list disk". Wiping the disk is not necessary. Dec 12, 2021 · To use it: Open Command Prompt, type cleanmgr, and hit Enter. This will delete all the partitions the target disk has. Dec 2, 2016 · The command above will launch disk cleanup for drive C:. It find all files bigger then 50 MB and "du -h" make better list of files and "sort -n" after pipe make list numericcaly sorted by file size. Type below commands, hit Enter each time to create a new partition: diskpart. exe, follow the steps: Step 1. ) But over time, disk space gets consumed. It will overwrite the free space with three passes as seen above. " Apr 22, 2022 · This is how to open the Command Prompt and check drive space with it: First, open Run, which you can launch with a Win + R key combination. Filesystem 1K-blocks Used Available Use% Mounted on Oct 23, 2023 · On either Windows 10 or Windows 11, you can right-click the Start button or press Windows+X and click either "Windows PowerShell (Admin)", "Command Prompt (Admin)", "Windows Terminal (Admin)". Table of contents. Jun 10, 2020 · Press “Windows + R” to open the Run dialogue, type “cleanmgr”, and press “OK”. df -a shows the file system's complete disk usage even if the Available field is 0. The SAGESET key allows you to create a preset of selected checkboxes in cleanmgr. May 4, 2017 · The only way to find out if such files exist is to unmount /myfilesystem/subir and check with. Like, if your target disk is 3, then you need to use the command select disk 3. Nov 16, 2008 · A simple solution; use the Get-PSDrive Powershell cmdlet. The available space on your drive will appear under Devices and drives. Here, since most of your temporary (unwanted) files are Jan 3, 2023 · Type the following command to select the partition you want to delete and press Enter: select partition PARTITION-NUMBER. Sep 29, 2023 · SDelete is a command line utility that takes a number of options. Note: If you follow the steps below and continue to have trouble updating Windows because of low disk space, resetting or reinstalling Aug 19, 2023 · Clearing the cache in Windows 10 can help troubleshoot system issues, improve performance, and free up disk space. A disk cleanup tool that thoroughly scans your computer for unnecessary and invalid files no longer being used by the system. This can be installed by using the command. 2. Use Disk Cleanup to clear temporary files cache. If you are not sure about the meaning of these files, click it and you'll see corresponding description on the bottom. Volume 2 below is ideal for shrinking, given its NTFS formatting. old folder, choose C:\. To find out the available and used disk space, use df (disk filesystems, sometimes called disk free). This switch Feb 3, 2023 · Displays information about the selected disk, partition, volume, or virtual hard disk (VHD). It will save atleast 1GB of space and will bring you into surprise. Step 2: Type list disk and press Enter; this will display all the hard drives installed on your computer. msc ”and tap OK to open Disk Management. The `Cleanmgr` command will remove unused files from the hard drive of your computer. 7 GB; Available Space – 10. When you click OK, the tool creates some registry values that contain the settings/selections you Sep 24, 2014 · Overwrite unallocated disk space to hide traces of deleted files. Click the drop-down box under Run Storage Sense and choose among Every day, Every This article describes how to start the Disk Cleanup tool and specify the hard disk to be cleaned by using the command line. This can cause Docker to use extra disk space. When the command prompt opens type: cipher /w:F:\. CleanerML markup language for writing your own custom cleaners. sdelete -c -p 2 f: -- Runs two delete passes on the free disk Aug 11, 2022 · How to reduce size of WinSxS folder using Disk Cleanup. Remove Cached Files. Either remove only the outdated packages, like those superseded by a recent update, making them completely unnecessary. Jun 4, 2017 · Cleaning up cache will free up space. In the Open box, type the following command, and then press Enter: c:\windows\SYSTEM32\cleanmgr. RODC for ROBO – Read Only Domain Controller for Remote Office/Branch Oct 17, 2023 · Bash contains two useful commands related to disk space. Type “list disk” and press Enter. Go to root folder. Open windows powershell as admin: First, press Windows+R to open Run, and then type “powershell” in the text box. In the Drive Selection window, select the drive you want to clean up and click OK. Disk Cleanup will prompt you to choose the drive to clean. select disk # ( # stands for the number of the disk to wipe) clean. Choose a disk that has some unallocated or unused space. SDelete accepts wild card characters as part of the directory or file specifier. Click on "Clean up system files" (and enter credentials if required). The drive with Windows on it (usually C) will ask you to restart before CHKDSK can run. Before you do, make sure that you have the correct disk. This should take you to the Local Disk Properties > General tab. exe ‘Disk Cleanup Settings’ dialog. package-cleanup--oldkernels--count=2. Here are some examples that demonstrate the various options that SDelete offers: sdelete -c c: -- Deletes the free disk space on drive C: securely. Here’s what it will return when run: [root@smatteso-vm1 ~]# df. $ cd /. Note that disk 5 is the disk we need to clean. Tick the types of files you want to remove and press “OK Oct 11, 2010 · When I need make more free space on servers I use this command. Open File Explorer. Once you enter to the diskpart screen type list disk and hit Enter. If you need to free up more space, you can also delete system files: In Disk Cleanup, select Clean up system files. Windows 11 Windows 10. Use built-in diskpart tool. Next, in the Disk Cleanup window, select all the files you want to delete and click Nov 30, 2020 · This is required to activate optimize-vhd command. Step 1: Open the Run window by pressing Windows and R keys. fsutil volume diskfree driveletter. package-cleanup --oldkernels --count=2. 1. You can free up disk space in the same way as in normal mode. During installation, you can reformat the whole disk. Select the drive to be cleaned. Once this is done, you can launch the preset using the /SAGERUN option. The docker image prune command allows you to clean up Jan 24, 2022 · Press Win + X to open the Power User Menu. The command will launch Disk Cleanup tool against the drive c with all checkbox checked by default. drive letter can be any local drive. Reduce the Size of the Component Store in an Offline Windows Image. Press "Win+R" to open "Run" dialogue. Type the following command at the prompt and press Sep 25, 2018 · Note: Enabling aggressive clean up may clear up logs, rendering logs unavailable for troubleshooting purposes. Older ESXi or VMFS volumes less than version 6: Power off VM and run vmkfstools -K on the your VM's vmdk file. new. To check the total disk space left on your Windows 11 device, select File Explorer from the taskbar, and then select This PC on the left. The delete disk override command fails if the disk is a member of a RAID-5 volume. Usage: Windows Command Prompt. For each type of object, Docker provides a prune command. Hi LadislavCingr, I'm David, an Independent Advisor, here to help you. ”. by typing "clean" in the Windows start screen and selecting "Free up disk space by deleting unnecessary files"). Where folder path is the full path of any folder in the volume that you want to clean. The percent space of path/storage/archive will be reduced, in this case to 32%. Clean up Packages/apt Cache. Selecting the target disk. After that, you can select the file categories you want to clean and click the Clean button. The first time you open BleachBit, you will be able to set up some preferences for data cleaning. sudo apt-get clean. wk rd il fh rw rs lt ky tb jt