df -h 看见磁盘空间满了.
eg:
pwd /home/jxbestpay/platform_account_task/logscd /home/jxbestpay/platform_account_task/logs --去日志目录,然后把日志文件压缩gzip *2018-0* --表示2018年1-9月的进行了压缩
ll --查看,压缩好了
mv *2018-0* /home/jxbestpay/databack_to_20/log/platform_account_task --移到这里(/home/jxbestpay/databack_to_20/log/platform_account_task)
看文件移过来了没有(去这里看(/home/jxbestpay/databack_to_20/log/platform_account_task)
cd /home/jxbestpay/databack_to_20/log/platform_account_task ll --查看
扩展命令: free -m 查看内存空间
转载于:https://www.cnblogs.com/PinkPink/p/10075186.html