What happens to the Trash when emptied
Hi, this may seem like a basic question but...when I was using a PC, I understood that even when you deleted a document and then emptied the recycle "bin" the original file did not actually get deleted from the hard drive or other media, but simply that the OS was able to re-use that space as and when it needed to and in this case the original file may be eventually completely or partially overwritten. The outcome of this was that over a period of time you had to "defrag" your hard-drive as a basic housekeeping chore. Can anyone tell me whether the same basic storage process occurs with a MAC device? I would like to be sure that when I delete some files and empty the Trash can, they are truly unobtainable by any malware or other unauthorised access, also whether I need to from time to time defrag the MAC hard drive???
iMac (21.5-inch, Late 2013), OS X Yosemite (10.10)