Home > Disk Cleanup > Linux Clean Up Disk Space Command Line

Linux Clean Up Disk Space Command Line


R. (from 11.4 x86_64 "Celadon" at Telcontar) Reply With Quote 16-Sep-2011,02:19 #9 sobrus View Profile View Forum Posts View Blog Entries View Articles Explorer Penguin Join Date May 2011 Location Lublin, If you operate a Linux server, you may also be able to free up some space by purging or shrinking large log files. Conclusion The CLI utilities, du and df, when combined with dd to copy and convert files, can be handy for administers to write disk usage and backup scripts. I do not save them to linux /, more specifically /home. Source

The main difference is, instead of looking for stuff that you can delete, these tools show you the stuff that takes the most space, and then you decide whether that space Sort by installed packages and you'll see the appropriate packages appear at the top of the list. especially how to clean /var and /tmp files /var is getting filled very often. The algorithms are executed in a daily cron-job.

Linux Clean Up Disk Space Command Line

Another thing you can relatively easy do is delete old kernel versions. I am by no means an expert. Password Linux - Newbie This Linux forum is for members that are new to Linux. files, etc' In windows > this is a simple - there be a lot of tools to do that.

I can only get in command line. Find Which Appliations Are Using the Most Space RELATED ARTICLEHow Software Installation & Package Managers Work On Linux Your installed applications -- in the form of packages -- are taking up All Rights Reserved. © SUSE Careers Legal About Contact Us current community chat Unix & Linux Unix & Linux Meta your communities Sign up or log in to customize your list. You may get a better answer to your question by starting a new discussion.

How to Fax a Document From Your Smartphone What Is the Windows Event Viewer, and How Can I Use It? Join our community today! Are they consuming that much space? Text Quote Post |Replace Attachment Add link Text to display: Where should this link go?

If you'd like to contribute content, let us know. The older a snapshot is, the more disk space it occupies. We could always reinstall them from the package manager in the future. clean up possible?

No Space Left On Device Linux

But don't panic. List the biggest applications that are installed and check if you really need them. Linux Clean Up Disk Space Command Line previously downloaded apt-packages - can be removed. Linux Find Large Files dianat100 Linux - Newbie 5 03-09-2005 01:05 PM 3Gb of disk space lost!

Leave the most recent versions alone or your system will become unbootable. this contact form Here we'll check the disk usage of the current directory, and display all file names with their disk usage, and then sort them numerically using the sort utility: $ du -ah Which gives me an uneasy feeling. You can remove some snapshots from Snapper, however, the snapshots are not deleted immediately and might not free up as much space as you need. Bleachbit

In reality, the summary is 'not worth the effort', except for really exceptional use cases.) The problem with Reiser3 FS and even ext FS is that on a nearly full filesystem Posting in the Forums implies acceptance of the Terms and Conditions. Output of df -h terminal command from ubuntu (sda3), sdb 1 is my storage, sdc1 is my internal backup: Screenshot from 2014-03-21 08:30:58.png730x467 49.2 KB

March 21, 2014 Naman Sood have a peek here Sunlight and Vampires Why one shouldn't play the 6th string of an A chord on guitar?

It will scan your computer for unnecessary temporary files and automatically remove them to free up space. Because you're trying to execute "cron", but /etc/sysconfig/cron is a configuration file, not an executable file. > Secon question - defragmentation. > Is there a need to defragment disks under Linux? For information, see Adjusting the Config File in the SUSE Linux Enterprise Server Administration Guide.

I think I have it narrowed down but can't find what is / has hogged about 10 gig.

With Regards, Nanda nanda22 View Public Profile View LQ Blog View Review Entries View HCL Entries Find More Posts by nanda22 Tags cleanup, disk Thread Tools Show Printable Version This registry wastes a lot of valuable memory to hold values for programs that a user may use once in a blue-moon. eBay vs. Contact Us - Advertising Info - Rules - LQ Merchandise - Donations - Contributing Member - LQ Sitemap - Main Menu Linux Forum Android Forum Chrome OS Forum Search LQ

Effectively, for Nillfs2, I can see how it can ever become a factor, because it gets dealt with 'automagically' (this is not enough of an argument, by itself, for adopting a What am I doing wrong? Continue with cleanup by modifying the last parameter to identify smaller files that can be removed. Check This Out Not a member?

Since then it was actually putting them on the linux box at /mnt/linux. Help Desk » Inventory » Monitor » Community » Jump to navigation Advertisement News for the Open Source Professional Login / Create Account Facebook Twitter Google Plus LinkedIn Feeds Brought to At some point, there will come a situation where you just can't squeeze one more file onto the drive. Matt Wirth wrote: Go to your root, and execute du -a -h   You'll have to navigate the directories doing this on the abnormally large one until you find the file

I get rusty on linux when it works all the time and only having one linux box here. 0 This discussion has been inactive for over a year. The time now is 23:53. © 2015 SUSE, All Rights Reserved.