当前位置:科普知识站>IT科技>

linux|home空间不足

IT科技 阅读(5.82K)

1、首先确定是否是磁盘空间不足,输入命令:df –h 查看磁盘信息。

linux home空间不足

2、输入命令:du -h --max-depth=1 寻找当前目录,哪个文件夹占用空间最大。

linux home空间不足 第2张

3、进入文件夹输入:ls –lhS 将文件排序,再输入:> ./catalina.out 完成清理。

linux home空间不足 第3张