ubuntu查看文件大小,使用空间

1 查看当前文件夹目录大小

sudo du -h --max-depth=1
#整个目录
du -h

2 查看前10个大小排列的文件

sudo find /[替换dir] -type f -print0 | xargs -0 du -h | sort -rh | head -n 10
pycharm的strongdata 直接rm和anacond/pkgs中 conda clean -a 清理

3 conda 创建删除环境

conda create -n rcnn python=3.6  #如果faid则conda update
conda remove -n rcnn --all  
conda create -n tf --clone rcnn #重命名就是clone 再remove
发布了63 篇原创文章 · 获赞 7 · 访问量 3396

猜你喜欢

转载自blog.csdn.net/weixin_44523062/article/details/105434374