If you have a problem about your disk space, you should check your directories with
1 |
remotekernel@RemoteKernel:~$ df -h |
then find the directory has low space.
1 2 |
remotekernel@RemoteKernel:~$ cd /directory remotekernel@RemoteKernel:~$ find . -maxdepth 1 -exec du -hs {} \; |
Until finding the file have too much size, check folders size recursively.
After finding the file , you can move or compress the files;
1 |
remotekernel@RemoteKernel:~$ find log* -maxdepth 1 -mtime +30 -exec mv {} /tmp/log/ \; |