It doesn’t “go” anywhere. When you delete a file, the operating system merely marks the memory space as available for writing again and clears out the file’s entry in what files it knows about. The file is technically still there, just the operating system no longer recognizes it. As you continue use the device, programs are free to overwrite the space previously used by the file.
It usually doesn’t go anywhere however the space that file is located on a drive is now marked and considered available to be overwritten as free space. Edit: at least on traditional hdds I’m not familiar enough to know if modern nvme drives do they same or if they actually dump the charge states(what gets interpreted as 1s and 0s from their capacitors). Since nvme has a limited amount of writes I would assume they do similar to traditional drives to limit unnecessary read/writes
Files are just made of bytes of data. When you create a file, it’s like taking a dish out of the cabinet and using it. When you put it in the trash/recycling bin it’s like putting it in the sink. When you delete your trash, it’s like running the dishwasher and putting the dish away to wait until it needs to be used again.
Latest Answers