Clean up hard drive
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions use the other forums in the support section.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions use the other forums in the support section.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Clean up hard drive
I have tried searching but I am unable to find out how to clean up the hard drive. I keep receiving a message that there is not much space left on my hard drive. I cleaned it up once before but cannot remember how I did it. I think by pressing f10 during boot up but when I go there now I cannot find an option to free up space. The hard drive gradually fills up during everyday use.
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Re: Clean up hard drive
There are several things you can do. That would help that situation.
1. I use both ubuntu-cleaner found here: https://www.omgubuntu.co.uk/2016/12/fre ... anitor-app and stacer found here: https://itsfoss.com/optimize-ubuntu-stacer/
2. clean all cashe such as apt.
3. Clean un needed log files.
Good luck.
1. I use both ubuntu-cleaner found here: https://www.omgubuntu.co.uk/2016/12/fre ... anitor-app and stacer found here: https://itsfoss.com/optimize-ubuntu-stacer/
2. clean all cashe such as apt.
3. Clean un needed log files.
Good luck.
Easy tips : https://easylinuxtipsproject.blogspot.com/ Pjotr's Great Linux projects page.
Linux Mint Installation Guide: http://linuxmint-installation-guide.rea ... en/latest/
Registered Linux User #462608
Linux Mint Installation Guide: http://linuxmint-installation-guide.rea ... en/latest/
Registered Linux User #462608
Re: Clean up hard drive
That should not happen. This is the underlying issue, which should be solved... otherwise you're just mopping while the faucet is running, as we say in Dutch.
If your issue is solved, kindly indicate that by editing the first post in the topic, and adding [SOLVED] to the title. Thanks!
Re: Clean up hard drive
I know it should not happen but it does. According to my settings the hard drive should clean up temp files when shut down but it does not. How do I solve the problem?That should not happen. This is the underlying issue, which should be solved... otherwise you're just mopping while the faucet is running, as we say in Dutch.
Re: Clean up hard drive
First things first... How did you determine that this is what's filling up your hard drive?
If your issue is solved, kindly indicate that by editing the first post in the topic, and adding [SOLVED] to the title. Thanks!
Re: Clean up hard drive
You don't know that it's temp files - it sounds like log files getting filled with repeating error messages.RodneyB wrote: ⤴Tue Nov 27, 2018 10:50 amI know it should not happen but it does. According to my settings the hard drive should clean up temp files when shut down but it does not. How do I solve the problem?That should not happen. This is the underlying issue, which should be solved... otherwise you're just mopping while the faucet is running, as we say in Dutch.
To check -
Code: Select all
du /var/log
Code: Select all
ls -l /var/log
Please edit your original post title to include [SOLVED] if/when it is solved!
Your data and OS are backed up....right?
Your data and OS are backed up....right?
Re: Clean up hard drive
Two times my hard drive has gradually filled up to the point where I receive a warning about low disk space. One time I did something to free up space but I do not remember what I did. I have not installed any other programs or saved any pictures or other things that would take up disk space. I only read the news and visit Facebook on this computer.
Re: Clean up hard drive
You don't know that it's temp files - it sounds like log files getting filled with repeating error messages.
To check -(just for comparison, mine returns "7124 /var/log") andCode: Select all
du /var/log
Code: Select all
ls -l /var/log
I have no idea what you are talking about.
Re: Clean up hard drive
He is asking you to issue those commands in a terminal and post the output here so we can look at them.RodneyB wrote: ⤴Tue Nov 27, 2018 11:11 amYou don't know that it's temp files - it sounds like log files getting filled with repeating error messages.
To check -(just for comparison, mine returns "7124 /var/log") andCode: Select all
du /var/log
Code: Select all
ls -l /var/log
I have no idea what you are talking about.
you may need to put sudo in front of the commands
Code: Select all
sudo du /var/log
Code: Select all
sudo ls -l /var/log
Last edited by kc1di on Wed Nov 28, 2018 6:38 am, edited 1 time in total.
Easy tips : https://easylinuxtipsproject.blogspot.com/ Pjotr's Great Linux projects page.
Linux Mint Installation Guide: http://linuxmint-installation-guide.rea ... en/latest/
Registered Linux User #462608
Linux Mint Installation Guide: http://linuxmint-installation-guide.rea ... en/latest/
Registered Linux User #462608
Re: Clean up hard drive
I tested 'em w/o sudo, they work fine. Whenever reasonable/possible, I run commands before posting them here, then copy 'em from the terminal to avoid typos.
Please edit your original post title to include [SOLVED] if/when it is solved!
Your data and OS are backed up....right?
Your data and OS are backed up....right?
Re: Clean up hard drive
HI RodneyB,
I just read your post and the good replies to it. Here are my thoughts on this as well.
It would help to know more about your system setup. If you run "inxi -Fxzd" and "lsusb" from the console terminal prompt, highlight the results, copy and paste them back here, that should provide enough information.
You can install and run "QDirStat" or "baobab" to show what folders and files are taking up how much space.
How to check disk space on Ubuntu 18.04 Bionic Beaver Linux - LinuxConfig.org
https://linuxconfig.org/how-to-check-di ... aver-linux
You can also use system search applications like "Recoll" and "KFind" to locate files by size like show everything over 1 gb gigabyte in size.
8 Simple Ways To Free Up Space On Ubuntu and Linux Mint - It's FOSS
https://itsfoss.com/free-up-space-ubuntu-linux/
Linux Check Disk Space Command To View System Disk Usage - nixCraft
https://www.cyberciti.biz/faq/linux-che ... e-command/
Hope this helps ...
I just read your post and the good replies to it. Here are my thoughts on this as well.
It would help to know more about your system setup. If you run "inxi -Fxzd" and "lsusb" from the console terminal prompt, highlight the results, copy and paste them back here, that should provide enough information.
You can install and run "QDirStat" or "baobab" to show what folders and files are taking up how much space.
How to check disk space on Ubuntu 18.04 Bionic Beaver Linux - LinuxConfig.org
https://linuxconfig.org/how-to-check-di ... aver-linux
You can also use system search applications like "Recoll" and "KFind" to locate files by size like show everything over 1 gb gigabyte in size.
8 Simple Ways To Free Up Space On Ubuntu and Linux Mint - It's FOSS
https://itsfoss.com/free-up-space-ubuntu-linux/
Linux Check Disk Space Command To View System Disk Usage - nixCraft
https://www.cyberciti.biz/faq/linux-che ... e-command/
Hope this helps ...
Phd21: Mint 20 Cinnamon & xKDE (Mint Xfce + Kubuntu KDE) & KDE Neon 64-bit (new based on Ubuntu 20.04) Awesome OS's, Dell Inspiron I5 7000 (7573) 2 in 1 touch screen, Dell OptiPlex 780 Core2Duo E8400 3GHz,4gb Ram, Intel 4 Graphics.
- Pjotr
- Level 23
- Posts: 19927
- Joined: Mon Mar 07, 2011 10:18 am
- Location: The Netherlands (Holland) 🇳🇱
- Contact:
Re: Clean up hard drive
Exactly. Restrict the use of sudo to the use cases in which it's absolutely necessary. Otherwise you run the risk of messing up file permissions.
Tip: 10 things to do after installing Linux Mint 21.3 Virginia
Keep your Linux Mint healthy: Avoid these 10 fatal mistakes
Twitter: twitter.com/easylinuxtips
All in all, horse sense simply makes sense.
Keep your Linux Mint healthy: Avoid these 10 fatal mistakes
Twitter: twitter.com/easylinuxtips
All in all, horse sense simply makes sense.
Re: Clean up hard drive
OMG article may be of help also https://www.omgubuntu.co.uk/2016/08/5-w ... -on-ubuntu
Easy tips : https://easylinuxtipsproject.blogspot.com/ Pjotr's Great Linux projects page.
Linux Mint Installation Guide: http://linuxmint-installation-guide.rea ... en/latest/
Registered Linux User #462608
Linux Mint Installation Guide: http://linuxmint-installation-guide.rea ... en/latest/
Registered Linux User #462608
Re: Clean up hard drive
That's about 50MB, which isn't bad.
Please edit your original post title to include [SOLVED] if/when it is solved!
Your data and OS are backed up....right?
Your data and OS are backed up....right?
Re: Clean up hard drive
Thanks phd21. I think this will resolve my problem. The 8 easy steps is what I used. It is a long drawn out process but if it works that is fine. I will mark this as solved once I see that it is solved.
Re: Clean up hard drive
Hi RodneyB,
You are welcome from all of us that replied...
If you do not mind, what in particular was taking up the most space?
You are welcome from all of us that replied...
If you do not mind, what in particular was taking up the most space?
Phd21: Mint 20 Cinnamon & xKDE (Mint Xfce + Kubuntu KDE) & KDE Neon 64-bit (new based on Ubuntu 20.04) Awesome OS's, Dell Inspiron I5 7000 (7573) 2 in 1 touch screen, Dell OptiPlex 780 Core2Duo E8400 3GHz,4gb Ram, Intel 4 Graphics.
Re: Clean up hard drive
phd21, I do not know what was taking up the most space but this did not fully resolve my problem. I have more space on the hard drive but still receive message about low space. I did not us the "expert" features of the 8 ways to clean up hard drive. Perhaps that would do it. I have not done much computer work in the past 10-12 years and am not confident enough to try.
Re: Clean up hard drive
Hi RodneyB,
What are you doing when you get the message that you are low on space? How much free space is left on the drive?
Have you changed your system to "put /tmp on tmpfs" in system memory as part of speeding up Linux Mint? If so, undo that, and restart computer.
Speed up your Mint 19! - Easy Linux tips project
https://sites.google.com/site/easylinuxtipsproject/3
Hope this helps ...
What are you doing when you get the message that you are low on space? How much free space is left on the drive?
Have you changed your system to "put /tmp on tmpfs" in system memory as part of speeding up Linux Mint? If so, undo that, and restart computer.
Speed up your Mint 19! - Easy Linux tips project
https://sites.google.com/site/easylinuxtipsproject/3
Hope this helps ...
Phd21: Mint 20 Cinnamon & xKDE (Mint Xfce + Kubuntu KDE) & KDE Neon 64-bit (new based on Ubuntu 20.04) Awesome OS's, Dell Inspiron I5 7000 (7573) 2 in 1 touch screen, Dell OptiPlex 780 Core2Duo E8400 3GHz,4gb Ram, Intel 4 Graphics.