Before selling your Mac, it may be wise to ensure it is completely devoid of any of your secret data. This is easily accomplished by Disk Utility—the only challenge is that you need to start up your Mac from a different volume.
Continue, accept the license agreement, and finally click Install, Confirm that you want to restart.Disk Utility. Tools, select Disk UtilityDisk Utility is launched.Erase 
Security options… and make your choice: if your data is no threat to humanity, it is probably save to pick Zero Out Data. Depending on the size of your hard drive, this fast option will already take several hours, and the other options take 7 or 35 times as long 
Erase…. Note that this action will really erase all data in a way nobody will be able to recover it, no matter how much you are willing to pay for this service.Disk Utility and select Quit, which puts you back into the installer.
Discussion