I moved all my files to another Hdd (video,photos,docs etc)cleaned up 120gb of a 1TB HDD. Still had 800gb floating around on my HDD.
I have found in my VAR, Log, 2 text files 757.7Gb syslog and 40.3Gb syslog.
Can i delete these file or how can i stop them from fill my Hdd.
Any help would be appreciated.
syslog
because there could be something that keeps happening to fill it up like that, but other than that, you can delete them (reboot after deleting to regain the disk space). – Chai T. Rex Feb 06 '17 at 22:27tail /path/to/logfile.log
. You stop the logifle from filling your HDD by solving the problem that is getting logged about. – user535733 Feb 06 '17 at 22:38sudo rm /var/log/syslog*.gz
should get rid of all of the.gz
files.sudo rm /var/log/syslog*
will remove the non-.gz
syslog
files as well. Don't forget to reboot afterwards to actually see the free space, though. – Chai T. Rex Feb 06 '17 at 22:38tail -n 20 /var/log/syslog
, so we can see why your syslog is filling up so fast. – rclocher3 Feb 06 '17 at 22:41sudo du -hd1 /
and start digging. Happy hunting... – Amnon Feb 06 '17 at 23:48