ubuntu view file size, use space

1 View the current folder directory size

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

2 View the top 10 files arranged in size

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 create delete environment

conda create -n rcnn python=3.6  #如果faid则conda update
conda remove -n rcnn --all  
conda create -n tf --clone rcnn #重命名就是clone 再remove
Published 63 original articles · praised 7 · views 3396

Guess you like

Origin blog.csdn.net/weixin_44523062/article/details/105434374