I've got an older computer with an 80 GB hard drive. I'm trying to keep the hard drive as clear as possible and delete any downloaded files that I no longer need. I was just wondering, if I delete a file (which sends it to the trash bin) and then empty the trash bin, does that completely delete the file off the hard drive? If not, is there a good way to clean up the hard drive from time to time without erasing necessary programs?
If my understanding is correct, when you empty the trash can all the files in it are completely deleted.
If you want to make sure that a file is deleted, you can delete files using the
If you want more info on
Yes. The answer to your question is yes. If you delete the files from the Trash , then the files no longer occupy a space in your HDD.
If you want to make a safe cleaning to the Operating System , then you can apply the commands below from time to time.
1st command will delete all unwanted packages.
2nd command will clean up the apt-cache
3rd command will delete unwanted files (e.g packages you have deleted and configuration files are still in system)