美文网首页
Ubuntu 列出文件夹的大小

Ubuntu 列出文件夹的大小

作者: Rinaloving | 来源:发表于2023-12-28 14:57 被阅读0次
    1. 列出当前目录及其子目录的大小
    du -h
    
    1. 列出特定目录的大小
    du -h /path/to/directory
    
    image.png

    3.仅显示总大小

    du -sh /path/to/directory
    
    image.png
    1. 列出每个子目录的大小
    du -h --max-depth=1
    
    image.png

    相关文章

      网友评论

          本文标题:Ubuntu 列出文件夹的大小

          本文链接:https://www.haomeiwen.com/subject/jvwdndtx.html