Linux 常用维护指令 find /home/file/ -ctime +10 -name “*.txt” -delete //删除 /home/file/ 目录下10天之前生成的txt类型的文件find ./ -type f -mtime +10 -delete // 删除当前文件夹以及子文件夹中10天前的文件df -h // 查看磁盘信息tail -f log.log //实时查看文件du -sh */ //列出当前文件夹下所有文件夹占用空间情况jstack 1652 | grep "0x$(printf "%x\n" 23588)" -A 85 // 查看某线程情况