{"id":18237,"date":"2026-07-18T20:14:57","date_gmt":"2026-07-18T11:14:57","guid":{"rendered":"https:\/\/genai-ai.co.jp\/ai-kanri\/?p=18237"},"modified":"2026-07-18T20:14:57","modified_gmt":"2026-07-18T11:14:57","slug":"cc-linux-du","status":"publish","type":"post","link":"https:\/\/genai-ai.co.jp\/ai-kanri\/blog\/cc-linux-du\/","title":{"rendered":"\u30102026\u5e747\u6708\u6700\u65b0\u3011Linux\u30b3\u30de\u30f3\u30c9\u300cdu\u300d\u5b8c\u5168\u30ac\u30a4\u30c9\uff5c\u30c7\u30a3\u30b9\u30af\u4f7f\u7528\u91cf\u78ba\u8a8d\u30fb\u5168\u30aa\u30d7\u30b7\u30e7\u30f3\u30fbsort\/find\u7d44\u307f\u5408\u308f\u305b\u307e\u3067\u5fb9\u5e95\u89e3\u8aac"},"content":{"rendered":"\n<style>\n.g-flow-row{display:flex;gap:8px;justify-content:center;flex-wrap:wrap;align-items:center;}\n.g-flow-item{background:linear-gradient(135deg,#1a1a1a,#2a1015);color:#fff;border-radius:8px;padding:16px 14px;min-width:130px;flex:1;text-align:center;}\n.g-flow-arrow{color:#dc2626;font-size:20px;font-weight:700;}\n.g-card-row{display:flex;gap:12px;flex-wrap:wrap;margin:0 0 32px;}\n.g-card-row>div{flex:1;min-width:220px;}\n@media(max-width:600px){\n  .g-flow-row{flex-direction:column;}\n  .g-flow-arrow{transform:rotate(90deg);}\n  .g-card-row{flex-direction:column;}\n  .g-card-row>div{min-width:100%;}\n}\n<\/style>\n\n\n\n<div style=\"margin:0 0 32px;\">\n  <img decoding=\"async\" src=\"https:\/\/genai-ai.co.jp\/ai-kanri\/wp-content\/uploads\/2026\/07\/thumb-cc-linux-du-2.jpg\" alt=\"\u30102026\u5e747\u6708\u6700\u65b0\u3011Linux\u30b3\u30de\u30f3\u30c9\u300cdu\u300d\u5b8c\u5168\u30ac\u30a4\u30c9\uff5c\u30c7\u30a3\u30b9\u30af\u4f7f\u7528\u91cf\u78ba\u8a8d\u30fb\u5168\u30aa\u30d7\u30b7\u30e7\u30f3\u30fbsort\/find\u7d44\u307f\u5408\u308f\u305b\u307e\u3067\u5fb9\u5e95\u89e3\u8aac\" style=\"width:100%;height:auto;border-radius:12px;display:block;\">\n<\/div>\n\n\n\n<div style=\"background:#f8f9fa;border-radius:12px;padding:24px 28px;margin:0 0 32px;border-left:4px solid #dc2626;\">\n  <p style=\"font-size:15px;font-weight:700;color:#1a1a1a;margin:0 0 16px;\">\u3053\u306e\u8a18\u4e8b\u306e\u5185\u5bb9<\/p>\n  <ol style=\"margin:0;padding-left:20px;font-size:14px;line-height:2.2;list-style:none;\">\n    <li><a href=\"#sec-01\" style=\"color:#495057;text-decoration:none;\"><span style=\"color:#dc2626;font-weight:700;margin-right:8px;\">01<\/span>du\u30b3\u30de\u30f3\u30c9\u3068\u306f\u4f55\u304b\u2015\u2015df\u3068\u306e\u9055\u3044\u3068\u4f7f\u3044\u3069\u3053\u308d<\/a><\/li>\n    <li><a href=\"#sec-02\" style=\"color:#495057;text-decoration:none;\"><span style=\"color:#dc2626;font-weight:700;margin-right:8px;\">02<\/span>du\u30b3\u30de\u30f3\u30c9\u306e\u57fa\u672c\u69cb\u6587\u3068\u51fa\u529b\u306e\u8aad\u307f\u65b9<\/a><\/li>\n    <li><a href=\"#sec-03\" style=\"color:#495057;text-decoration:none;\"><span style=\"color:#dc2626;font-weight:700;margin-right:8px;\">03<\/span>du\u30b3\u30de\u30f3\u30c9\u306e\u5168\u30aa\u30d7\u30b7\u30e7\u30f3\u4e00\u89a7\u3068\u4f7f\u3044\u65b9<\/a><\/li>\n    <li><a href=\"#sec-04\" style=\"color:#495057;text-decoration:none;\"><span style=\"color:#dc2626;font-weight:700;margin-right:8px;\">04<\/span>sort\u30b3\u30de\u30f3\u30c9\u3068\u7d44\u307f\u5408\u308f\u305b\u308b\u2015\u2015\u5bb9\u91cf\u5927\u304d\u3044\u9806\u306b\u4e26\u3079\u308b<\/a><\/li>\n    <li><a href=\"#sec-05\" style=\"color:#495057;text-decoration:none;\"><span style=\"color:#dc2626;font-weight:700;margin-right:8px;\">05<\/span>find\u30b3\u30de\u30f3\u30c9\u3068\u7d44\u307f\u5408\u308f\u305b\u308b\u2015\u2015\u6761\u4ef6\u4ed8\u304d\u691c\u7d22<\/a><\/li>\n    <li><a href=\"#sec-06\" style=\"color:#495057;text-decoration:none;\"><span style=\"color:#dc2626;font-weight:700;margin-right:8px;\">06<\/span>Mac\uff08BSD\u7248du\uff09\u3068Linux\uff08GNU\u7248du\uff09\u306e\u9055\u3044<\/a><\/li>\n    <li><a href=\"#sec-07\" style=\"color:#495057;text-decoration:none;\"><span style=\"color:#dc2626;font-weight:700;margin-right:8px;\">07<\/span>\u300cPermission denied\u300d\u30a8\u30e9\u30fc\u306e\u5bfe\u51e6\u6cd5<\/a><\/li>\n    <li><a href=\"#sec-08\" style=\"color:#495057;text-decoration:none;\"><span style=\"color:#dc2626;font-weight:700;margin-right:8px;\">08<\/span>\u696d\u52d9\u3067\u306e\u5b9f\u8df5\u30b7\u30ca\u30ea\u30aa\u2015\u2015\u30b5\u30fc\u30d0\u30fc\u7ba1\u7406\u30fbAI\u30d7\u30ed\u30b8\u30a7\u30af\u30c8<\/a><\/li>\n    <li><a href=\"#sec-09\" style=\"color:#495057;text-decoration:none;\"><span style=\"color:#dc2626;font-weight:700;margin-right:8px;\">09<\/span>Claude Code\u306b\u4efb\u305b\u308b\u3068du\u30b3\u30de\u30f3\u30c9\u304c\u4e0d\u8981\u306b\u306a\u308b<\/a><\/li>\n    <li><a href=\"#faq\" style=\"color:#495057;text-decoration:none;\"><span style=\"color:#dc2626;font-weight:700;margin-right:8px;\">FAQ<\/span>\u3088\u304f\u3042\u308b\u8cea\u554f<\/a><\/li>\n  <\/ol>\n<\/div>\n\n\n\n<p class=\"wp-block-paragraph\">\u300c\u30c7\u30a3\u30b9\u30af\u304c\u6e80\u676f\u3067\u7a81\u7136\u30b5\u30fc\u30d3\u30b9\u304c\u6b62\u307e\u3063\u305f\u300d\u300c\u30ed\u30b0\u30d5\u30a1\u30a4\u30eb\u304c\u3044\u3064\u306e\u9593\u306b\u304b\u6570\u5341GB\u306b\u306a\u3063\u3066\u3044\u305f\u300d\u2014\u2014Linux\u30b5\u30fc\u30d0\u30fc\u3092\u904b\u7528\u3057\u3066\u3044\u308c\u3070\u3001\u3053\u3093\u306a\u7d4c\u9a13\u304c\u4e00\u5ea6\u306f\u3042\u308b\u306f\u305a\u3067\u3059\u3002\u305d\u306e\u30c8\u30e9\u30d6\u30eb\u3092\u672a\u7136\u306b\u9632\u3050\u305f\u3081\u306e\u57fa\u672c\u30b3\u30de\u30f3\u30c9\u304c <strong>du\u30b3\u30de\u30f3\u30c9<\/strong>\uff08Disk Usage\uff09\u3067\u3059\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">du\u30b3\u30de\u30f3\u30c9\u306f\u3001\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3084\u30d5\u30a1\u30a4\u30eb\u304c\u5b9f\u969b\u306b\u3069\u308c\u3060\u3051\u306e\u30c7\u30a3\u30b9\u30af\u5bb9\u91cf\u3092\u4f7f\u3063\u3066\u3044\u308b\u304b\u3092\u8abf\u3079\u308bLinux\u306e\u6a19\u6e96\u30b3\u30de\u30f3\u30c9\u3067\u3059\u3002\u300c\u3069\u306e\u30d5\u30a9\u30eb\u30c0\u304c\u5bb9\u91cf\u3092\u98df\u3063\u3066\u3044\u308b\u304b\u300d\u3092\u7d20\u65e9\u304f\u7279\u5b9a\u3067\u304d\u308b\u305f\u3081\u3001\u30b5\u30fc\u30d0\u30fc\u7ba1\u7406\u30fbAI\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306e\u30c7\u30fc\u30bf\u7ba1\u7406\u30fb\u5b9a\u671f\u7684\u306a\u30b9\u30c8\u30ec\u30fc\u30b8\u76e3\u8996\u307e\u3067\u3001\u3042\u3089\u3086\u308b\u5834\u9762\u3067\u4f7f\u308f\u308c\u307e\u3059\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u3053\u306e\u8a18\u4e8b\u3067\u306f\u3001<strong>du\u30b3\u30de\u30f3\u30c9\u306e\u57fa\u672c\u69cb\u6587\u304b\u3089\u5168\u30aa\u30d7\u30b7\u30e7\u30f3\u30fbsort\u3084find\u3068\u306e\u7d44\u307f\u5408\u308f\u305b\u30fbMac\uff08BSD\u7248\uff09\u3068Linux\uff08GNU\u7248\uff09\u306e\u9055\u3044\u30fb\u300cPermission denied\u300d\u30a8\u30e9\u30fc\u3078\u306e\u5bfe\u51e6\u6cd5<\/strong>\u307e\u3067\u3001\u4e00\u3064\u306e\u8a18\u4e8b\u3067\u5b8c\u5168\u306b\u7406\u89e3\u3067\u304d\u308b\u3088\u3046\u89e3\u8aac\u3057\u307e\u3059\u3002\u3055\u3089\u306b\u5f8c\u534a\u3067\u306f\u3001AI\u30c4\u30fc\u30eb\u306eClaude Code\u3092\u4f7f\u3063\u3066\u300cdu\u3092\u5b9f\u884c\u305b\u305a\u306b\u30c7\u30a3\u30b9\u30af\u7ba1\u7406\u3092\u81ea\u52d5\u5316\u3059\u308b\u300d\u65b9\u6cd5\u3082\u3054\u7d39\u4ecb\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<div class=\"balloon-wrap\">\n  <div class=\"balloon-icon\">\n    <img decoding=\"async\" src=\"https:\/\/genai-ai.co.jp\/ai-kanri\/wp-content\/uploads\/2026\/04\/ceo-sugasawa.jpg\" alt=\"\u4ee3\u8868\u83c5\u6fa4\">\n    <span class=\"balloon-name\">\u4ee3\u8868\u83c5\u6fa4<\/span>\n  <\/div>\n  <div class=\"balloon-body\">\u5f0a\u793eGENAI\u3067\u306f\u8907\u6570\u306eLinux\u30b5\u30fc\u30d0\u30fc\u3092\u4f7f\u3063\u3066AI\u30c4\u30fc\u30eb\u3084\u81ea\u52d5\u5316\u30b7\u30b9\u30c6\u30e0\u3092\u52d5\u304b\u3057\u3066\u3044\u307e\u3059\u3002\u30c7\u30a3\u30b9\u30af\u7ba1\u7406\u3092\u6020\u308b\u3068\u3001AI\u306e\u51e6\u7406\u304c\u7a81\u7136\u6b62\u307e\u3063\u305f\u308a\u3001\u30d0\u30c3\u30af\u30a2\u30c3\u30d7\u304c\u5931\u6557\u3057\u305f\u308a\u3059\u308b\u306e\u3067\u3001du\u30b3\u30de\u30f3\u30c9\u306f\u6bce\u9031\u30c1\u30a7\u30c3\u30af\u3057\u3066\u3044\u308b\u5fc5\u9808\u30b3\u30de\u30f3\u30c9\u3067\u3059\u3002<\/div>\n<\/div>\n\n\n\n<div class=\"balloon-wrap is-right\">\n  <div class=\"balloon-icon\">\n    <img decoding=\"async\" src=\"https:\/\/genai-ai.co.jp\/ai-kanri\/wp-content\/uploads\/2026\/04\/yamazaki-avatar.png\" alt=\"AI\u9b3c\u7ba1\u7406\u5c71\u5d0e\">\n    <span class=\"balloon-name\">AI\u9b3c\u7ba1\u7406\u5c71\u5d0e<\/span>\n  <\/div>\n  <div class=\"balloon-body\">\u3053\u306e\u8a18\u4e8b\u306f\u30a8\u30f3\u30b8\u30cb\u30a2\u306f\u3082\u3061\u308d\u3093\u3001\u300c\u81ea\u793e\u306e\u30b5\u30fc\u30d0\u30fc\u304c\u3069\u308c\u3060\u3051\u5bb9\u91cf\u3092\u4f7f\u3063\u3066\u3044\u308b\u304b\u78ba\u8a8d\u3057\u305f\u3044\u300d\u3068\u3044\u3046\u7d4c\u55b6\u8005\u30fb\u7ba1\u7406\u8077\u306e\u65b9\u306b\u3082\u5206\u304b\u308b\u3088\u3046\u3001\u5c02\u9580\u7528\u8a9e\u3092\u4e01\u5be7\u306b\u89e3\u8aac\u3057\u306a\u304c\u3089\u9032\u3081\u307e\u3059\u3002<\/div>\n<\/div>\n\n\n\n<p class=\"wp-block-paragraph\">\u3053\u306e\u8a18\u4e8b\u3092\u8aad\u307f\u7d42\u308f\u308b\u3068\u3001\u6b21\u306e\u3053\u3068\u304c\u81ea\u5206\u3067\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<div style=\"background:#fafafa;border-radius:8px;padding:16px 20px;margin:16px 0;border-left:4px solid #dc2626;\">\n<div style=\"display:flex;align-items:flex-start;gap:8px;padding:6px 0;font-size:15px;line-height:1.6;\"><span style=\"color:#dc2626;font-size:16px;flex-shrink:0;margin-top:2px;\">&#10004;&#65039;<\/span><span>du\u30b3\u30de\u30f3\u30c9\u306e\u57fa\u672c\u69cb\u6587\u3068\u51fa\u529b\u306e\u610f\u5473\u3092\u6b63\u78ba\u306b\u7406\u89e3\u3067\u304d\u308b<\/span><\/div>\n<div style=\"display:flex;align-items:flex-start;gap:8px;padding:6px 0;font-size:15px;line-height:1.6;\"><span style=\"color:#dc2626;font-size:16px;flex-shrink:0;margin-top:2px;\">&#10004;&#65039;<\/span><span>\u7528\u9014\u306b\u5fdc\u3058\u305f\u9069\u5207\u306a\u30aa\u30d7\u30b7\u30e7\u30f3\u3092\u9078\u3079\u308b\u3088\u3046\u306b\u306a\u308b<\/span><\/div>\n<div style=\"display:flex;align-items:flex-start;gap:8px;padding:6px 0;font-size:15px;line-height:1.6;\"><span style=\"color:#dc2626;font-size:16px;flex-shrink:0;margin-top:2px;\">&#10004;&#65039;<\/span><span>sort\u3084find\u3068\u7d44\u307f\u5408\u308f\u305b\u3066\u300c\u5bb9\u91cf\u3092\u98df\u3063\u3066\u3044\u308b\u72af\u4eba\u300d\u3092\u5373\u5ea7\u306b\u7279\u5b9a\u3067\u304d\u308b<\/span><\/div>\n<div style=\"display:flex;align-items:flex-start;gap:8px;padding:6px 0;font-size:15px;line-height:1.6;\"><span style=\"color:#dc2626;font-size:16px;flex-shrink:0;margin-top:2px;\">&#10004;&#65039;<\/span><span>Mac\u3068Linux\u3067\u6319\u52d5\u304c\u7570\u306a\u308b\u90e8\u5206\u3092\u628a\u63e1\u3057\u3066\u304a\u308a\u3001\u74b0\u5883\u3092\u554f\u308f\u305a\u4f7f\u3044\u3053\u306a\u305b\u308b<\/span><\/div>\n<div style=\"display:flex;align-items:flex-start;gap:8px;padding:6px 0;font-size:15px;line-height:1.6;\"><span style=\"color:#dc2626;font-size:16px;flex-shrink:0;margin-top:2px;\">&#10004;&#65039;<\/span><span>Permission denied\u30a8\u30e9\u30fc\u306b\u906d\u9047\u3057\u3066\u3082\u3001\u6b63\u3057\u3044\u5bfe\u51e6\u6cd5\u3067\u89e3\u6c7a\u3067\u304d\u308b<\/span><\/div>\n<div style=\"display:flex;align-items:flex-start;gap:8px;padding:6px 0;font-size:15px;line-height:1.6;\"><span style=\"color:#dc2626;font-size:16px;flex-shrink:0;margin-top:2px;\">&#10004;&#65039;<\/span><span>Claude Code\u3092\u4f7f\u3063\u3066\u30c7\u30a3\u30b9\u30af\u7ba1\u7406\u3092\u81ea\u52d5\u5316\u3057\u3001\u624b\u52d5\u3067du\u3092\u53e9\u304f\u5fc5\u8981\u3092\u306a\u304f\u305b\u308b<\/span><\/div>\n\n<\/div>\n\n\n<div style=\"margin:48px 0 8px;display:flex;gap:12px;justify-content:center;flex-wrap:wrap;\"><a href=\"https:\/\/aikanri.genai-ai.co.jp\/seminar2-blog\/?utm_source=blog&#038;utm_medium=h2banner&#038;utm_content=cc-linux-du&#038;blog_slug=cc-linux-du\" target=\"_blank\" rel=\"noopener\" aria-label=\"Claude Code \u5b8c\u5168\u89e3\u8aac\u30bb\u30df\u30ca\u30fc\uff08\u7121\u6599\u30fb1on1\u30fb60\u5206\uff09\u306e\u4e88\u7d04\u753b\u9762\u3078\" style=\"flex:1 1 280px;max-width:360px;text-decoration:none;\"><img decoding=\"async\" src=\"https:\/\/genai-ai.co.jp\/ai-kanri\/wp-content\/uploads\/2026\/05\/cta_seminar_claude_code_2026.jpg\" alt=\"Claude Code \u5b8c\u5168\u89e3\u8aac\u30bb\u30df\u30ca\u30fc\uff5c\u7d4c\u55b6\u8005\u30fb\u4f1a\u793e\u5f79\u54e1\u5c02\u7528 1on1 60\u5206 \u7121\u6599\" style=\"width:100%;height:auto;border-radius:8px;display:block;\"><\/a><a href=\"https:\/\/aikanri.genai-ai.co.jp\/?utm_source=blog&#038;utm_medium=h2banner&#038;utm_campaign=cc-linux-du&#038;utm_content=h2-banner-kanri\" target=\"_blank\" rel=\"noopener\" aria-label=\"AI\u9b3c\u7ba1\u7406 \u516c\u5f0f\u30b5\u30a4\u30c8\u3078\" style=\"flex:1 1 280px;max-width:360px;text-decoration:none;\"><img decoding=\"async\" src=\"https:\/\/genai-ai.co.jp\/ai-kanri\/wp-content\/uploads\/2026\/05\/cta_blog_1to1.jpg\" alt=\"Claude Code\u3092\u7d4c\u55b6\u306b\u6d3b\u304b\u3057\u305f\u3044\u65b9\u3078 \u2014 AI\u9b3c\u7ba1\u7406\" style=\"width:100%;height:auto;border-radius:8px;display:block;\"><\/a><\/div>\n\n\n<div id=\"sec-01\"><\/div>\n<h2 class=\"section-header-img\" style=\"margin:32px 0 24px;border-radius:8px;overflow:hidden;background:linear-gradient(135deg,#1a1a1a 0%,#2a1015 100%);padding:32px 28px;color:#fff;position:relative;border:none;border-left:none;text-align:left;\">\n  <span class=\"section-number\" style=\"display:block;\">01<\/span>\n  <span class=\"section-label\" style=\"display:block;\">WHAT IS DU<\/span>\n  <span class=\"section-title\" style=\"display:block;\">du\u30b3\u30de\u30f3\u30c9\u3068\u306f\u4f55\u304b\u2015\u2015df\u3068\u306e\u9055\u3044\u3068\u4f7f\u3044\u3069\u3053\u308d<\/span>\n  <span class=\"section-desc\">Disk Usage \u30b3\u30de\u30f3\u30c9\u306e\u57fa\u672c\u6982\u5ff5\u3068\u3001\u6df7\u540c\u3057\u3084\u3059\u3044df\u30b3\u30de\u30f3\u30c9\u3068\u306e\u9055\u3044\u3092\u6574\u7406\u3059\u308b<\/span>\n<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u307e\u305a\u300cdu\u30b3\u30de\u30f3\u30c9\u304c\u4f55\u3092\u3059\u308b\u30b3\u30de\u30f3\u30c9\u306a\u306e\u304b\u300d\u3092\u660e\u78ba\u306b\u3057\u3066\u304a\u304d\u307e\u3057\u3087\u3046\u3002du\u306f <strong>Disk Usage\uff08\u30c7\u30a3\u30b9\u30af\u4f7f\u7528\u91cf\uff09<\/strong> \u306e\u7565\u3067\u3001\u6307\u5b9a\u3057\u305f\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3084\u30d5\u30a1\u30a4\u30eb\u304c\u73fe\u5728\u3069\u308c\u3060\u3051\u306e\u30c7\u30a3\u30b9\u30af\u30b9\u30da\u30fc\u30b9\u3092\u4f7f\u7528\u3057\u3066\u3044\u308b\u304b\u3092\u8868\u793a\u3059\u308b\u30b3\u30de\u30f3\u30c9\u3067\u3059\u30021970\u5e74\u4ee3\u306eUNIX\u304b\u3089\u5b58\u5728\u3059\u308b\u6b74\u53f2\u306e\u9577\u3044\u30b3\u30de\u30f3\u30c9\u3067\u3001\u73fe\u4ee3\u306eLinux\u30fbMac\u30fbBSD\u7cfb\u306eOS\u306b\u6a19\u6e96\u642d\u8f09\u3055\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<div style=\"background:#f8f9fa;border-left:4px solid #6b7280;border-radius:0 8px 8px 0;padding:16px 20px;margin:20px 0;\">\n  <p style=\"margin:0 0 4px;font-size:13px;font-weight:700;color:#6b7280;letter-spacing:1px;\">&#128218; \u7528\u8a9e\u89e3\u8aac<\/p>\n  <p style=\"margin:0;font-size:15px;line-height:1.7;\"><strong>du\u30b3\u30de\u30f3\u30c9<\/strong>\uff1aDisk Usage\u306e\u7565\u3002\u6307\u5b9a\u3057\u305f\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3084\u30d5\u30a1\u30a4\u30eb\u306e\u30c7\u30a3\u30b9\u30af\u4f7f\u7528\u91cf\u3092\u518d\u5e30\u7684\u306b\u8868\u793a\u3059\u308bLinux\/Unix\u306e\u6a19\u6e96\u30b3\u30de\u30f3\u30c9\u3002\u300c\u305d\u306e\u30d5\u30a9\u30eb\u30c0\u304c\u5408\u8a08\u3067\u4f55\u30d0\u30a4\u30c8\u4f7f\u3063\u3066\u3044\u308b\u304b\u300d\u3092\u8abf\u3079\u308b\u306e\u306b\u4f7f\u3044\u307e\u3059\u3002<\/p>\n<\/div>\n\n\n\n<h3 class=\"wp-block-heading\">1-1. df\u30b3\u30de\u30f3\u30c9\u3068\u306e\u9055\u3044\u2015\u2015\u300c\u30d1\u30fc\u30c6\u30a3\u30b7\u30e7\u30f3\u5168\u4f53\u300dvs\u300c\u30d5\u30a9\u30eb\u30c0\u5358\u4f4d\u300d<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">du\u3068\u6df7\u540c\u3055\u308c\u3084\u3059\u3044\u30b3\u30de\u30f3\u30c9\u306b <strong>df\u30b3\u30de\u30f3\u30c9\uff08Disk Free\uff09<\/strong>\u304c\u3042\u308a\u307e\u3059\u3002\u3053\u306e2\u3064\u306f\u3069\u3061\u3089\u3082\u30c7\u30a3\u30b9\u30af\u306b\u95a2\u3059\u308b\u30b3\u30de\u30f3\u30c9\u3067\u3059\u304c\u3001\u8abf\u3079\u308b\u5bfe\u8c61\u304c\u307e\u3063\u305f\u304f\u7570\u306a\u308a\u307e\u3059\u3002df \u306f\u300c\u30c7\u30a3\u30b9\u30af\u30d1\u30fc\u30c6\u30a3\u30b7\u30e7\u30f3\u5168\u4f53\u3067\u3069\u308c\u3060\u3051\u7a7a\u304d\u304c\u3042\u308b\u304b\u300d\u3092\u8868\u793a\u3059\u308b\u306e\u306b\u5bfe\u3057\u3001du \u306f\u300c\u7279\u5b9a\u306e\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u304c\u4f55\u30d0\u30a4\u30c8\u6d88\u8cbb\u3057\u3066\u3044\u308b\u304b\u300d\u3092\u8abf\u3079\u307e\u3059\u3002<\/p>\n\n\n\n<table>\n<thead><tr><th>\u30b3\u30de\u30f3\u30c9<\/th><th>\u7565\u79f0\u306e\u610f\u5473<\/th><th>\u8abf\u3079\u308b\u5bfe\u8c61<\/th><th>\u4e3b\u306a\u7528\u9014<\/th><\/tr><\/thead>\n<tbody>\n<tr><td>du<\/td><td>Disk Usage<\/td><td>\u6307\u5b9a\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u30fb\u30d5\u30a1\u30a4\u30eb\u306e\u4f7f\u7528\u91cf<\/td><td>\u3069\u306e\u30d5\u30a9\u30eb\u30c0\u304c\u5bb9\u91cf\u3092\u98df\u3063\u3066\u3044\u308b\u304b\u7279\u5b9a<\/td><\/tr>\n<tr><td>df<\/td><td>Disk Free<\/td><td>\u30de\u30a6\u30f3\u30c8\u3055\u308c\u305f\u30d1\u30fc\u30c6\u30a3\u30b7\u30e7\u30f3\u5168\u4f53<\/td><td>\u30c7\u30a3\u30b9\u30af\u5168\u4f53\u306e\u7a7a\u304d\u5bb9\u91cf\u78ba\u8a8d<\/td><\/tr>\n<\/tbody>\n<\/table>\n\n\n\n<p class=\"wp-block-paragraph\">\u5178\u578b\u7684\u306a\u4f7f\u3044\u5206\u3051\u3068\u3057\u3066\u3001\u307e\u305a <code>df -h<\/code> \u3067\u30c7\u30a3\u30b9\u30af\u5168\u4f53\u306e\u6b8b\u308a\u5bb9\u91cf\u3092\u78ba\u8a8d\u3057\u3001\u300c\u6b8b\u308a10%\u3057\u304b\u306a\u3044\u300d\u3068\u5206\u304b\u3063\u305f\u3089\u6b21\u306b <code>du<\/code> \u3067\u300c\u3069\u306e\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u304c\u5927\u91cf\u306b\u4f7f\u3063\u3066\u3044\u308b\u304b\u300d\u3092\u6398\u308a\u4e0b\u3052\u308b\u2014\u2014\u3068\u3044\u3046\u30ef\u30fc\u30af\u30d5\u30ed\u30fc\u304c\u5b9a\u756a\u3067\u3059\u3002df\u3067\u5168\u4f53\u50cf\u3092\u63b4\u307f\u3001du\u3067\u72af\u4eba\u3092\u7279\u5b9a\u3059\u308b\u30a4\u30e1\u30fc\u30b8\u3067\u3059\u3002<\/p>\n\n\n\n<div class=\"balloon-wrap is-right\">\n  <div class=\"balloon-icon\">\n    <img decoding=\"async\" src=\"https:\/\/genai-ai.co.jp\/ai-kanri\/wp-content\/uploads\/2026\/04\/yamazaki-avatar.png\" alt=\"AI\u9b3c\u7ba1\u7406\u5c71\u5d0e\">\n    <span class=\"balloon-name\">AI\u9b3c\u7ba1\u7406\u5c71\u5d0e<\/span>\n  <\/div>\n  <div class=\"balloon-body\">df\u3068du\u3092\u6df7\u4e71\u3059\u308b\u65b9\u304c\u3068\u3066\u3082\u591a\u3044\u3067\u3059\u3002\u30b7\u30f3\u30d7\u30eb\u306b\u899a\u3048\u308b\u306a\u3089\u300cdf=\u30c7\u30a3\u30b9\u30af\u5168\u4f53\u306e\u6b8b\u91cf\u30c1\u30a7\u30c3\u30af\u300d\u300cdu=\u30d5\u30a9\u30eb\u30c0\u3054\u3068\u306e\u4f7f\u7528\u91cf\u6398\u308a\u4e0b\u3052\u300d\u3068\u899a\u3048\u3066\u304f\u3060\u3055\u3044\u3002\u554f\u984c\u3092\u767a\u898b\u3059\u308b\u306e\u304cdf\u3001\u539f\u56e0\u3092\u7279\u5b9a\u3059\u308b\u306e\u304cdu\u3067\u3059\u3002<\/div>\n<\/div>\n\n\n\n<h3 class=\"wp-block-heading\">1-2. du\u30b3\u30de\u30f3\u30c9\u304c\u5fc5\u8981\u306b\u306a\u308b\u5178\u578b\u30b7\u30ca\u30ea\u30aa<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\u65e5\u3005\u306e\u904b\u7528\u3067du\u30b3\u30de\u30f3\u30c9\u304c\u5fc5\u8981\u306b\u306a\u308b\u5834\u9762\u306f\u591a\u5c90\u306b\u308f\u305f\u308a\u307e\u3059\u3002\u7279\u306b\u3088\u304f\u3042\u308b\u306e\u306f\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u72b6\u6cc1\u3067\u3059\u3002\u30c7\u30a3\u30b9\u30af\u304c\u6e80\u676f\u306b\u8fd1\u3065\u3044\u3066\u30a2\u30e9\u30fc\u30c8\u304c\u51fa\u305f\u3001\u7279\u5b9a\u306e\u30b5\u30fc\u30d3\u30b9\u304c\u7a81\u7136\u9045\u304f\u306a\u3063\u305f\u3001\u30d0\u30c3\u30af\u30a2\u30c3\u30d7\u304c\u5931\u6557\u3057\u305f\u2014\u2014\u3053\u3046\u3044\u3063\u305f\u30c8\u30e9\u30d6\u30eb\u306e\u591a\u304f\u306f\u30c7\u30a3\u30b9\u30af\u5bb9\u91cf\u306e\u554f\u984c\u304c\u6839\u672c\u539f\u56e0\u3067\u3059\u3002<\/p>\n\n\n\n<div style=\"background:#fafafa;border-radius:8px;padding:16px 20px;margin:16px 0;border-left:4px solid #dc2626;\">\n<div style=\"display:flex;align-items:flex-start;gap:8px;padding:6px 0;font-size:15px;line-height:1.6;\"><span style=\"color:#dc2626;font-size:16px;flex-shrink:0;margin-top:2px;\">&#10004;&#65039;<\/span><span><strong>\u30ed\u30b0\u30d5\u30a1\u30a4\u30eb\u306e\u80a5\u5927\u5316<\/strong>\uff1a\/var\/log\/ \u4ee5\u4e0b\u306e\u30a2\u30af\u30bb\u30b9\u30ed\u30b0\u30fb\u30a8\u30e9\u30fc\u30ed\u30b0\u304c\u6570\u5341GB\u306b\u306a\u3063\u3066\u3044\u308b\u30b1\u30fc\u30b9<\/span><\/div>\n<div style=\"display:flex;align-items:flex-start;gap:8px;padding:6px 0;font-size:15px;line-height:1.6;\"><span style=\"color:#dc2626;font-size:16px;flex-shrink:0;margin-top:2px;\">&#10004;&#65039;<\/span><span><strong>AI\u30c7\u30fc\u30bf\u30bb\u30c3\u30c8\u306e\u84c4\u7a4d<\/strong>\uff1a\u6a5f\u68b0\u5b66\u7fd2\u7528\u306e\u753b\u50cf\u30fb\u30c6\u30ad\u30b9\u30c8\u30c7\u30fc\u30bf\u304c\u6570\u767eGB\u306b\u81a8\u308c\u4e0a\u304c\u3063\u3066\u3044\u308b\u30b1\u30fc\u30b9<\/span><\/div>\n<div style=\"display:flex;align-items:flex-start;gap:8px;padding:6px 0;font-size:15px;line-height:1.6;\"><span style=\"color:#dc2626;font-size:16px;flex-shrink:0;margin-top:2px;\">&#10004;&#65039;<\/span><span><strong>\u30d0\u30c3\u30af\u30a2\u30c3\u30d7\u30d5\u30a1\u30a4\u30eb\u306e\u672a\u524a\u9664<\/strong>\uff1a\u53e4\u3044\u30d0\u30c3\u30af\u30a2\u30c3\u30d7\u304c \/backup\/ \u306b\u6b8b\u308a\u7d9a\u3051\u3066\u3044\u308b\u30b1\u30fc\u30b9<\/span><\/div>\n<div style=\"display:flex;align-items:flex-start;gap:8px;padding:6px 0;font-size:15px;line-height:1.6;\"><span style=\"color:#dc2626;font-size:16px;flex-shrink:0;margin-top:2px;\">&#10004;&#65039;<\/span><span><strong>\u4e00\u6642\u30d5\u30a1\u30a4\u30eb\u306e\u653e\u7f6e<\/strong>\uff1a\/tmp\/ \u3084\u5404\u7a2e\u30ad\u30e3\u30c3\u30b7\u30e5\u304c\u524a\u9664\u3055\u308c\u305a\u306b\u305f\u307e\u308a\u7d9a\u3051\u3066\u3044\u308b\u30b1\u30fc\u30b9<\/span><\/div>\n<div style=\"display:flex;align-items:flex-start;gap:8px;padding:6px 0;font-size:15px;line-height:1.6;\"><span style=\"color:#dc2626;font-size:16px;flex-shrink:0;margin-top:2px;\">&#10004;&#65039;<\/span><span><strong>\u30b3\u30f3\u30c6\u30ca\u30fb\u4eee\u60f3\u30de\u30b7\u30f3\u306e\u30a4\u30e1\u30fc\u30b8<\/strong>\uff1aDocker\u30a4\u30e1\u30fc\u30b8\u3084\u672a\u4f7f\u7528\u306eVM\u30b9\u30ca\u30c3\u30d7\u30b7\u30e7\u30c3\u30c8\u304c\u7a4d\u307f\u91cd\u306a\u3063\u3066\u3044\u308b\u30b1\u30fc\u30b9<\/span><\/div>\n<div style=\"display:flex;align-items:flex-start;gap:8px;padding:6px 0;font-size:15px;line-height:1.6;\"><span style=\"color:#dc2626;font-size:16px;flex-shrink:0;margin-top:2px;\">&#10004;&#65039;<\/span><span><strong>\u30e1\u30fc\u30eb\u30b9\u30d7\u30fc\u30eb\u306e\u80a5\u5927\u5316<\/strong>\uff1a\/var\/mail\/ \u3084 \/var\/spool\/ \u306b\u672a\u8aad\u30e1\u30fc\u30eb\u304c\u6e9c\u307e\u3063\u3066\u3044\u308b\u30b1\u30fc\u30b9<\/span><\/div>\n\n<\/div>\n\n\n\n<div style=\"background:#f0fdf4;border:1px solid #22c55e;border-radius:8px;padding:20px 24px;margin:24px 0;\">\n  <div style=\"display:flex;align-items:center;gap:8px;margin-bottom:12px;\">\n    <span style=\"font-size:18px;\">&#128161;<\/span>\n    <strong style=\"color:#16a34a;font-size:15px;\">\u30c7\u30a3\u30b9\u30af\u5bb9\u91cf\u76e3\u8996\u306e\u91cd\u8981\u6027<\/strong>\n  <\/div>\n  <p style=\"margin:0;font-size:15px;line-height:1.8;color:#333;\">\u30c7\u30a3\u30b9\u30af\u304c100%\u306b\u306a\u308b\u3068OS\u306f\u30d5\u30a1\u30a4\u30eb\u306e\u66f8\u304d\u8fbc\u307f\u304c\u3067\u304d\u306a\u304f\u306a\u308a\u3001\u30b5\u30fc\u30d3\u30b9\u304c\u505c\u6b62\u3057\u307e\u3059\u3002\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u30ed\u30b0\u3082\u66f8\u3051\u306a\u304f\u306a\u308b\u305f\u3081\u3001\u300c\u306a\u305c\u6b62\u307e\u3063\u305f\u306e\u304b\u300d\u306e\u539f\u56e0\u8abf\u67fb\u3059\u3089\u3067\u304d\u306a\u304f\u306a\u308b\u30b1\u30fc\u30b9\u3082\u3002\u67081\u56de\u7a0b\u5ea6\u306edu\u30c1\u30a7\u30c3\u30af\u3092\u7fd2\u6163\u306b\u3059\u308b\u3060\u3051\u3067\u3001\u3053\u3046\u3057\u305f\u6700\u60aa\u306e\u4e8b\u614b\u3092\u672a\u7136\u306b\u9632\u3052\u307e\u3059\u3002<\/p>\n<\/div>\n\n\n\n<h3 class=\"wp-block-heading\">1-3. du\u30b3\u30de\u30f3\u30c9\u306e\u5b9f\u969b\u306e\u52d5\u4f5c\u539f\u7406<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">du\u30b3\u30de\u30f3\u30c9\u306f\u6307\u5b9a\u3057\u305f\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3092<strong>\u518d\u5e30\u7684\uff08recursively\uff09<\/strong>\u306b\u305f\u3069\u308a\u3001\u5404\u30d5\u30a1\u30a4\u30eb\u306e\u30c7\u30a3\u30b9\u30af\u4f7f\u7528\u91cf\u3092\u5408\u7b97\u3057\u3066\u8868\u793a\u3057\u307e\u3059\u3002\u300c\u518d\u5e30\u7684\u300d\u3068\u306f\u3001\u6307\u5b9a\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306e\u4e2d\u306e\u30b5\u30d6\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3001\u3055\u3089\u306b\u305d\u306e\u4e2d\u306e\u30b5\u30d6\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u2026\u3068\u3001\u968e\u5c64\u3092\u4f55\u6bb5\u3067\u3082\u81ea\u52d5\u7684\u306b\u8fbf\u308b\u3053\u3068\u3092\u610f\u5473\u3057\u307e\u3059\u3002\u30d5\u30a1\u30a4\u30eb\u81ea\u4f53\u306e\u30b5\u30a4\u30ba\uff08apparent size\uff09\u3067\u306f\u306a\u304f\u3001\u5b9f\u969b\u306b\u30c7\u30a3\u30b9\u30af\u30d6\u30ed\u30c3\u30af\u3068\u3057\u3066\u5360\u6709\u3057\u3066\u3044\u308b\u30b5\u30a4\u30ba\u304c\u8a08\u7b97\u3055\u308c\u307e\u3059\u3002<\/p>\n\n\n\n<div style=\"background:#f8f9fa;border-left:4px solid #6b7280;border-radius:0 8px 8px 0;padding:16px 20px;margin:20px 0;\">\n  <p style=\"margin:0 0 4px;font-size:13px;font-weight:700;color:#6b7280;letter-spacing:1px;\">&#128218; \u7528\u8a9e\u89e3\u8aac<\/p>\n  <p style=\"margin:0;font-size:15px;line-height:1.7;\"><strong>\u30c7\u30a3\u30b9\u30af\u30d6\u30ed\u30c3\u30af<\/strong>\uff1a\u30c7\u30a3\u30b9\u30af\u304c\u30c7\u30fc\u30bf\u3092\u8aad\u307f\u66f8\u304d\u3059\u308b\u6700\u5c0f\u5358\u4f4d\u3002\u4e00\u822c\u7684\u306aLinux\u30b7\u30b9\u30c6\u30e0\u3067\u306f4KB\uff084,096\u30d0\u30a4\u30c8\uff09\u304c1\u30d6\u30ed\u30c3\u30af\u3067\u3059\u3002100\u30d0\u30a4\u30c8\u306e\u30d5\u30a1\u30a4\u30eb\u3067\u3082\u6700\u4f4e1\u30d6\u30ed\u30c3\u30af\uff084KB\uff09\u3092\u5360\u6709\u3059\u308b\u305f\u3081\u3001\u300c\u30d5\u30a1\u30a4\u30eb\u30b5\u30a4\u30ba\u306e\u5408\u8a08\u300d\u3068\u300c\u5b9f\u969b\u306e\u30c7\u30a3\u30b9\u30af\u4f7f\u7528\u91cf\u300d\u306f\u3057\u3070\u3057\u3070\u7570\u306a\u308a\u307e\u3059\u3002<\/p>\n<\/div>\n\n\n<div style=\"margin:48px 0 8px;display:flex;gap:12px;justify-content:center;flex-wrap:wrap;\"><a href=\"https:\/\/aikanri.genai-ai.co.jp\/seminar2-blog\/?utm_source=blog&#038;utm_medium=h2banner&#038;utm_content=cc-linux-du&#038;blog_slug=cc-linux-du\" target=\"_blank\" rel=\"noopener\" aria-label=\"Claude Code \u5b8c\u5168\u89e3\u8aac\u30bb\u30df\u30ca\u30fc\uff08\u7121\u6599\u30fb1on1\u30fb60\u5206\uff09\u306e\u4e88\u7d04\u753b\u9762\u3078\" style=\"flex:1 1 280px;max-width:360px;text-decoration:none;\"><img decoding=\"async\" src=\"https:\/\/genai-ai.co.jp\/ai-kanri\/wp-content\/uploads\/2026\/05\/cta_seminar_claude_code_2026.jpg\" alt=\"Claude Code \u5b8c\u5168\u89e3\u8aac\u30bb\u30df\u30ca\u30fc\uff5c\u7d4c\u55b6\u8005\u30fb\u4f1a\u793e\u5f79\u54e1\u5c02\u7528 1on1 60\u5206 \u7121\u6599\" style=\"width:100%;height:auto;border-radius:8px;display:block;\"><\/a><a href=\"https:\/\/aikanri.genai-ai.co.jp\/?utm_source=blog&#038;utm_medium=h2banner&#038;utm_campaign=cc-linux-du&#038;utm_content=h2-banner-kanri\" target=\"_blank\" rel=\"noopener\" aria-label=\"AI\u9b3c\u7ba1\u7406 \u516c\u5f0f\u30b5\u30a4\u30c8\u3078\" style=\"flex:1 1 280px;max-width:360px;text-decoration:none;\"><img decoding=\"async\" src=\"https:\/\/genai-ai.co.jp\/ai-kanri\/wp-content\/uploads\/2026\/05\/cta_blog_1to1.jpg\" alt=\"Claude Code\u3092\u7d4c\u55b6\u306b\u6d3b\u304b\u3057\u305f\u3044\u65b9\u3078 \u2014 AI\u9b3c\u7ba1\u7406\" style=\"width:100%;height:auto;border-radius:8px;display:block;\"><\/a><\/div>\n\n\n<div id=\"sec-02\"><\/div>\n<h2 class=\"section-header-img\" style=\"margin:32px 0 24px;border-radius:8px;overflow:hidden;background:linear-gradient(135deg,#1a1a1a 0%,#2a1015 100%);padding:32px 28px;color:#fff;position:relative;border:none;border-left:none;text-align:left;\">\n  <span class=\"section-number\" style=\"display:block;\">02<\/span>\n  <span class=\"section-label\" style=\"display:block;\">BASIC USAGE<\/span>\n  <span class=\"section-title\" style=\"display:block;\">du\u30b3\u30de\u30f3\u30c9\u306e\u57fa\u672c\u69cb\u6587\u3068\u51fa\u529b\u306e\u8aad\u307f\u65b9<\/span>\n  <span class=\"section-desc\">\u5f15\u6570\u306a\u3057\u5b9f\u884c\u304b\u3089\u3001\u51fa\u529b\u306b\u8868\u793a\u3055\u308c\u308b\u6570\u5b57\u306e\u5358\u4f4d\u307e\u3067\u4e01\u5be7\u306b\u89e3\u8aac<\/span>\n<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">du\u30b3\u30de\u30f3\u30c9\u306e\u57fa\u672c\u69cb\u6587\u306f\u30b7\u30f3\u30d7\u30eb\u3067\u3059\u3002\u5f15\u6570\uff08\u8abf\u3079\u305f\u3044\u30d1\u30b9\uff09\u3092\u6307\u5b9a\u3059\u308b\u304b\u3001\u7701\u7565\u3059\u308b\u3068\u30ab\u30ec\u30f3\u30c8\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u304c\u5bfe\u8c61\u306b\u306a\u308a\u307e\u3059\u3002\u307e\u305a\u5b9f\u969b\u306b\u53e9\u3044\u3066\u307f\u3066\u3001\u51fa\u529b\u3092\u8aad\u3081\u308b\u3088\u3046\u306b\u306a\u308b\u3053\u3068\u304c\u51fa\u767a\u70b9\u3067\u3059\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">2-1. \u57fa\u672c\u69cb\u6587<\/h3>\n\n\n\n<div style=\"background:#1e1e1e;border-radius:8px;padding:20px 24px;margin:20px 0;overflow-x:auto;\">\n  <pre style=\"margin:0;color:#d4d4d4;font-size:14px;line-height:1.6;font-family:'Courier New',monospace;\">du [\u30aa\u30d7\u30b7\u30e7\u30f3] [\u30d5\u30a1\u30a4\u30eb\/\u30c7\u30a3\u30ec\u30af\u30c8\u30ea...]<\/pre>\n<\/div>\n\n\n\n<p class=\"wp-block-paragraph\">\u6700\u3082\u30b7\u30f3\u30d7\u30eb\u306a\u4f7f\u3044\u65b9\u306f\u5f15\u6570\u306a\u3057\u3067\u5b9f\u884c\u3059\u308b\u3053\u3068\u3067\u3059\u3002\u30ab\u30ec\u30f3\u30c8\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\uff08\u73fe\u5728\u3044\u308b\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\uff09\u4ee5\u4e0b\u306e\u5168\u30b5\u30d6\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306e\u4f7f\u7528\u91cf\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u3002<\/p>\n\n\n\n<div style=\"background:#1e1e1e;border-radius:8px;padding:20px 24px;margin:20px 0;overflow-x:auto;\">\n  <pre style=\"margin:0;color:#d4d4d4;font-size:14px;line-height:1.6;font-family:'Courier New',monospace;\"># \u30ab\u30ec\u30f3\u30c8\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306e\u4f7f\u7528\u91cf\u3092\u8868\u793a\n$ du\n\n# \u7279\u5b9a\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3092\u6307\u5b9a\u3059\u308b\u5834\u5408\n$ du \/var\/log\n\n# \u8907\u6570\u306e\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3092\u540c\u6642\u306b\u6307\u5b9a\n$ du \/var\/log \/home \/tmp<\/pre>\n<\/div>\n\n\n\n<h3 class=\"wp-block-heading\">2-2. \u30c7\u30d5\u30a9\u30eb\u30c8\u51fa\u529b\u306e\u5358\u4f4d\u3092\u7406\u89e3\u3059\u308b<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\u30aa\u30d7\u30b7\u30e7\u30f3\u306a\u3057\u3067\u5b9f\u884c\u3057\u305f\u3068\u304d\u3001\u51fa\u529b\u3055\u308c\u308b\u6570\u5b57\u306e\u5358\u4f4d\u306f<strong>512\u30d0\u30a4\u30c8\u30d6\u30ed\u30c3\u30af<\/strong>\uff08\u307e\u305f\u306f1KB\u30d6\u30ed\u30c3\u30af\uff09\u3067\u3059\u3002\u74b0\u5883\u306b\u3088\u3063\u3066\u7570\u306a\u308a\u307e\u3059\u304c\u3001\u591a\u304f\u306eLinux\u3067\u306f1KB\u30d6\u30ed\u30c3\u30af\u304c\u4f7f\u308f\u308c\u307e\u3059\u3002\u3053\u306e\u751f\u306e\u6570\u5b57\u306f\u76f4\u611f\u7684\u3067\u306a\u3044\u305f\u3081\u3001\u5b9f\u969b\u306e\u4f5c\u696d\u3067\u306f\u5f8c\u8ff0\u306e <code>-h<\/code>\uff08human-readable\uff09\u30aa\u30d7\u30b7\u30e7\u30f3\u3092\u307b\u307c\u5fc5\u305a\u4ed8\u3051\u307e\u3059\u3002<\/p>\n\n\n\n<div style=\"background:#1e1e1e;border-radius:8px;padding:20px 24px;margin:20px 0;overflow-x:auto;\">\n  <pre style=\"margin:0;color:#d4d4d4;font-size:14px;line-height:1.6;font-family:'Courier New',monospace;\"># \u30aa\u30d7\u30b7\u30e7\u30f3\u306a\u3057\uff081KB\u30d6\u30ed\u30c3\u30af\u5358\u4f4d\u3067\u51fa\u529b\u3055\u308c\u308b\uff09\n$ du \/var\/log\n4       \/var\/log\/apt\/term.log\n12      \/var\/log\/apt\n8       \/var\/log\/auth.log\n...\n2048    \/var\/log\n\n# -h \u30aa\u30d7\u30b7\u30e7\u30f3\u4ed8\u304d\uff08\u4eba\u9593\u304c\u8aad\u307f\u3084\u3059\u3044\u30b5\u30a4\u30ba\u306b\u5909\u63db\uff09\n$ du -h \/var\/log\n4.0K    \/var\/log\/apt\/term.log\n12K     \/var\/log\/apt\n8.0K    \/var\/log\/auth.log\n...\n2.0M    \/var\/log<\/pre>\n<\/div>\n\n\n\n<div style=\"background:#f0fdf4;border:1px solid #22c55e;border-radius:8px;padding:20px 24px;margin:24px 0;\">\n  <div style=\"display:flex;align-items:center;gap:8px;margin-bottom:12px;\">\n    <span style=\"font-size:18px;\">&#128161;<\/span>\n    <strong style=\"color:#16a34a;font-size:15px;\">\u5b9f\u52d9\u3067\u306f -h \u3092\u5e38\u306b\u4ed8\u3051\u308b<\/strong>\n  <\/div>\n  <p style=\"margin:0;font-size:15px;line-height:1.8;color:#333;\">\u751f\u306e\u6570\u5b57\uff081024\u30014096 \u306a\u3069\u306e\u30d6\u30ed\u30c3\u30af\u6570\uff09\u3088\u308a\u300c2.0M\u300d\u300c1.5G\u300d\u306e\u65b9\u304c\u5727\u5012\u7684\u306b\u8aad\u307f\u3084\u3059\u3044\u3067\u3059\u3002\u5f8c\u8ff0\u3059\u308b\u3059\u3079\u3066\u306e\u5b9f\u7528\u4f8b\u3067\u3082 -h \u30aa\u30d7\u30b7\u30e7\u30f3\u3092\u7d44\u307f\u5408\u308f\u305b\u3066\u3044\u307e\u3059\u3002\u8ff7\u3063\u305f\u3089\u307e\u305a du -h \u3067\u59cb\u3081\u307e\u3057\u3087\u3046\u3002<\/p>\n<\/div>\n\n\n\n<div class=\"balloon-wrap\">\n  <div class=\"balloon-icon\">\n    <img decoding=\"async\" src=\"https:\/\/genai-ai.co.jp\/ai-kanri\/wp-content\/uploads\/2026\/04\/ceo-sugasawa.jpg\" alt=\"\u4ee3\u8868\u83c5\u6fa4\">\n    <span class=\"balloon-name\">\u4ee3\u8868\u83c5\u6fa4<\/span>\n  <\/div>\n  <div class=\"balloon-body\">\u79c1\u304c\u6700\u521d\u306bdu\u30b3\u30de\u30f3\u30c9\u3092\u899a\u3048\u305f\u3068\u304d\u3001\u51fa\u529b\u3055\u308c\u308b\u6570\u5b57\u306e\u5358\u4f4d\u304c\u5206\u304b\u3089\u306a\u304f\u3066\u6df7\u4e71\u3057\u307e\u3057\u305f\u3002\u300c4096\u3063\u3066\u4f55\uff1f4GB\uff1f4KB\uff1f\u300d\u3068\u3002-h\u30aa\u30d7\u30b7\u30e7\u30f3\u3092\u77e5\u3063\u3066\u304b\u3089\u3001\u4e00\u6c17\u306b\u4f7f\u3044\u3084\u3059\u304f\u306a\u308a\u307e\u3057\u305f\u3002<\/div>\n<\/div>\n\n\n\n<h3 class=\"wp-block-heading\">2-3. \u51fa\u529b\u306e\u69cb\u9020\u3092\u8aad\u3080<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">du\u306e\u51fa\u529b\u306f\u300c<strong>\u30b5\u30a4\u30ba\uff08\u30bf\u30d6\u533a\u5207\u308a\uff09\u30d1\u30b9\u540d<\/strong>\u300d\u3068\u3044\u3046\u69cb\u9020\u3067\u3059\u3002\u5404\u884c\u304c\u305d\u306e\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u4ee5\u4e0b\u306e\u5408\u8a08\u4f7f\u7528\u91cf\u3092\u8868\u3057\u3066\u3044\u307e\u3059\u3002\u30b5\u30d6\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u304c\u5148\u306b\u8868\u793a\u3055\u308c\u3001\u6700\u5f8c\u306b\u89aa\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306e\u5408\u8a08\uff08\u5b50\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3092\u542b\u3080\uff09\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u3002<\/p>\n\n\n\n<div style=\"background:#1e1e1e;border-radius:8px;padding:20px 24px;margin:20px 0;overflow-x:auto;\">\n  <pre style=\"margin:0;color:#d4d4d4;font-size:14px;line-height:1.6;font-family:'Courier New',monospace;\">$ du -h \/var\/log\n4.0K    \/var\/log\/apt\/term.log    \u2190 \/var\/log\/apt\/term.log \u5358\u4f53\u306e\u30b5\u30a4\u30ba\uff08-a\u4ed8\u304d\u306e\u5834\u5408\uff09\n12K     \/var\/log\/apt             \u2190 \/var\/log\/apt \u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u4ee5\u4e0b\u306e\u5408\u8a08\n8.0K    \/var\/log\/auth.log\n2.0M    \/var\/log                 \u2190 \/var\/log \u4ee5\u4e0b\u3059\u3079\u3066\u306e\u5408\u8a08\uff08\u6700\u5f8c\u306b\u8868\u793a\uff09<\/pre>\n<\/div>\n\n\n\n<div style=\"background:#f8f9fa;border-left:4px solid #6b7280;border-radius:0 8px 8px 0;padding:16px 20px;margin:20px 0;\">\n  <p style=\"margin:0 0 4px;font-size:13px;font-weight:700;color:#6b7280;letter-spacing:1px;\">&#128218; \u7528\u8a9e\u89e3\u8aac<\/p>\n  <p style=\"margin:0;font-size:15px;line-height:1.7;\"><strong>\u518d\u5e30\u51e6\u7406<\/strong>\uff1a\u30b3\u30f3\u30d4\u30e5\u30fc\u30bf\u304c\u51e6\u7406\u3092\u7e70\u308a\u8fd4\u3059\u624b\u6cd5\u306e\u4e00\u3064\u3002du\u306e\u5834\u5408\u3001\u300c\u6307\u5b9a\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306e\u4e2d\u306e\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3092\u8abf\u3079\u3001\u305d\u306e\u307e\u305f\u4e2d\u306e\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3092\u8abf\u3079\u2026\u300d\u3068\u3001\u30cd\u30b9\u30c8\u304c\u4f55\u6bb5\u3042\u3063\u3066\u3082\u81ea\u52d5\u3067\u6398\u308a\u4e0b\u3052\u307e\u3059\u3002\u7d42\u308f\u308a\u306e\u306a\u3044\u5165\u308c\u5b50\u69cb\u9020\u3092\u4e00\u62ec\u3067\u51e6\u7406\u3067\u304d\u308b\u5f37\u529b\u306a\u4ed5\u7d44\u307f\u3067\u3059\u3002<\/p>\n<\/div>\n\n\n<div style=\"margin:48px 0 8px;display:flex;gap:12px;justify-content:center;flex-wrap:wrap;\"><a href=\"https:\/\/aikanri.genai-ai.co.jp\/seminar2-blog\/?utm_source=blog&#038;utm_medium=h2banner&#038;utm_content=cc-linux-du&#038;blog_slug=cc-linux-du\" target=\"_blank\" rel=\"noopener\" aria-label=\"Claude Code \u5b8c\u5168\u89e3\u8aac\u30bb\u30df\u30ca\u30fc\uff08\u7121\u6599\u30fb1on1\u30fb60\u5206\uff09\u306e\u4e88\u7d04\u753b\u9762\u3078\" style=\"flex:1 1 280px;max-width:360px;text-decoration:none;\"><img decoding=\"async\" src=\"https:\/\/genai-ai.co.jp\/ai-kanri\/wp-content\/uploads\/2026\/05\/cta_seminar_claude_code_2026.jpg\" alt=\"Claude Code \u5b8c\u5168\u89e3\u8aac\u30bb\u30df\u30ca\u30fc\uff5c\u7d4c\u55b6\u8005\u30fb\u4f1a\u793e\u5f79\u54e1\u5c02\u7528 1on1 60\u5206 \u7121\u6599\" style=\"width:100%;height:auto;border-radius:8px;display:block;\"><\/a><a href=\"https:\/\/aikanri.genai-ai.co.jp\/?utm_source=blog&#038;utm_medium=h2banner&#038;utm_campaign=cc-linux-du&#038;utm_content=h2-banner-kanri\" target=\"_blank\" rel=\"noopener\" aria-label=\"AI\u9b3c\u7ba1\u7406 \u516c\u5f0f\u30b5\u30a4\u30c8\u3078\" style=\"flex:1 1 280px;max-width:360px;text-decoration:none;\"><img decoding=\"async\" src=\"https:\/\/genai-ai.co.jp\/ai-kanri\/wp-content\/uploads\/2026\/05\/cta_blog_1to1.jpg\" alt=\"Claude Code\u3092\u7d4c\u55b6\u306b\u6d3b\u304b\u3057\u305f\u3044\u65b9\u3078 \u2014 AI\u9b3c\u7ba1\u7406\" style=\"width:100%;height:auto;border-radius:8px;display:block;\"><\/a><\/div>\n\n\n<div id=\"sec-03\"><\/div>\n<h2 class=\"section-header-img\" style=\"margin:32px 0 24px;border-radius:8px;overflow:hidden;background:linear-gradient(135deg,#1a1a1a 0%,#2a1015 100%);padding:32px 28px;color:#fff;position:relative;border:none;border-left:none;text-align:left;\">\n  <span class=\"section-number\" style=\"display:block;\">03<\/span>\n  <span class=\"section-label\" style=\"display:block;\">ALL OPTIONS<\/span>\n  <span class=\"section-title\" style=\"display:block;\">du\u30b3\u30de\u30f3\u30c9\u306e\u5168\u30aa\u30d7\u30b7\u30e7\u30f3\u4e00\u89a7\u3068\u4f7f\u3044\u65b9<\/span>\n  <span class=\"section-desc\">\u983b\u51fa\u30aa\u30d7\u30b7\u30e7\u30f3\u304b\u3089\u9ad8\u5ea6\u306a\u4f7f\u3044\u65b9\u307e\u3067\u3001\u5b9f\u4f8b\u4ed8\u304d\u3067\u5b8c\u5168\u7db2\u7f85<\/span>\n<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">du\u30b3\u30de\u30f3\u30c9\u306b\u306f\u591a\u6570\u306e\u30aa\u30d7\u30b7\u30e7\u30f3\u304c\u3042\u308a\u307e\u3059\u3002\u3059\u3079\u3066\u3092\u6697\u8a18\u3059\u308b\u5fc5\u8981\u306f\u3042\u308a\u307e\u305b\u3093\u304c\u3001\u3088\u304f\u4f7f\u304610\u500b\u7a0b\u5ea6\u3092\u62bc\u3055\u3048\u3066\u304a\u304f\u3068\u3001\u3042\u3089\u3086\u308b\u72b6\u6cc1\u306b\u5bfe\u5fdc\u3067\u304d\u307e\u3059\u3002\u307e\u305a\u5168\u4f53\u3092\u8868\u3067\u628a\u63e1\u3057\u3066\u304b\u3089\u3001\u91cd\u8981\u306a\u3082\u306e\u3092\u5b9f\u4f8b\u4ed8\u304d\u3067\u89e3\u8aac\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<table>\n<thead><tr><th>\u30aa\u30d7\u30b7\u30e7\u30f3<\/th><th>\u8aac\u660e<\/th><th>\u4e3b\u306a\u7528\u9014<\/th><\/tr><\/thead>\n<tbody>\n<tr><td>-h, --human-readable<\/td><td>K\u30fbM\u30fbG \u306a\u3069\u306e\u5358\u4f4d\u3067\u8868\u793a<\/td><td>\u5e38\u306b\u4ed8\u3051\u308b\u306e\u304c\u304a\u3059\u3059\u3081<\/td><\/tr>\n<tr><td>-s, --summarize<\/td><td>\u6307\u5b9a\u30d1\u30b9\u306e\u5408\u8a08\u306e\u307f\u8868\u793a\uff08\u30b5\u30d6\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u975e\u8868\u793a\uff09<\/td><td>\u7279\u5b9a\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306e\u7dcf\u30b5\u30a4\u30ba\u3092\u4e00\u767a\u78ba\u8a8d<\/td><\/tr>\n<tr><td>-a, --all<\/td><td>\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3060\u3051\u3067\u306a\u304f\u30d5\u30a1\u30a4\u30eb\u3082\u500b\u5225\u306b\u8868\u793a<\/td><td>\u3069\u306e\u30d5\u30a1\u30a4\u30eb\u304c\u5927\u304d\u3044\u304b\u7279\u5b9a\u3057\u305f\u3044\u6642<\/td><\/tr>\n<tr><td>-S, --separate-dirs<\/td><td>\u30b5\u30d6\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306e\u30b5\u30a4\u30ba\u3092\u5408\u8a08\u306b\u542b\u3081\u306a\u3044<\/td><td>\u5404\u968e\u5c64\u306e\u30b5\u30a4\u30ba\u3092\u72ec\u7acb\u3057\u3066\u628a\u63e1\u3057\u305f\u3044\u6642<\/td><\/tr>\n<tr><td>-c, --total<\/td><td>\u6700\u5f8c\u306b\u5168\u4f53\u306e\u5408\u8a08\u3092\u8ffd\u52a0\u8868\u793a<\/td><td>\u8907\u6570\u30d1\u30b9\u306e\u5408\u8a08\u30b5\u30a4\u30ba\u3092\u77e5\u308a\u305f\u3044\u6642<\/td><\/tr>\n<tr><td>-b, --bytes<\/td><td>\u30d0\u30a4\u30c8\u5358\u4f4d\u3067\u8868\u793a\uff08apparent-size\uff09<\/td><td>\u6b63\u78ba\u306a\u30d0\u30a4\u30c8\u6570\u304c\u5fc5\u8981\u306a\u6642<\/td><\/tr>\n<tr><td>-k<\/td><td>1KB\u30d6\u30ed\u30c3\u30af\u5358\u4f4d\u3067\u8868\u793a<\/td><td>\u30b9\u30af\u30ea\u30d7\u30c8\u3067\u6570\u5024\u51e6\u7406\u3059\u308b\u6642<\/td><\/tr>\n<tr><td>-m<\/td><td>1MB\u30d6\u30ed\u30c3\u30af\u5358\u4f4d\u3067\u8868\u793a<\/td><td>\u5927\u5bb9\u91cf\u30d5\u30a1\u30a4\u30eb\u306e\u7c97\u3044\u78ba\u8a8d<\/td><\/tr>\n<tr><td>--max-depth=N (-d N)<\/td><td>\u6307\u5b9a\u3057\u305f\u968e\u5c64\u307e\u3067\u3057\u304b\u8868\u793a\u3057\u306a\u3044<\/td><td>\u6df1\u3044\u968e\u5c64\u3092\u9664\u3044\u3066\u6982\u8981\u3092\u898b\u305f\u3044\u6642<\/td><\/tr>\n<tr><td>--exclude=PATTERN<\/td><td>\u7279\u5b9a\u306e\u30d1\u30bf\u30fc\u30f3\u306b\u4e00\u81f4\u3059\u308b\u30d5\u30a1\u30a4\u30eb\u30fb\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3092\u9664\u5916<\/td><td>\u30ad\u30e3\u30c3\u30b7\u30e5\u3084\u4eee\u60f3\u74b0\u5883\u3092\u9664\u3044\u3066\u30b5\u30a4\u30ba\u3092\u898b\u305f\u3044\u6642<\/td><\/tr>\n<tr><td>-x, --one-file-system<\/td><td>\u7570\u306a\u308b\u30d5\u30a1\u30a4\u30eb\u30b7\u30b9\u30c6\u30e0\u306b\u8de8\u3089\u306a\u3044<\/td><td>\u30de\u30a6\u30f3\u30c8\u30dd\u30a4\u30f3\u30c8\u3092\u7121\u8996\u3057\u3066\u8a08\u6e2c\u3057\u305f\u3044\u6642<\/td><\/tr>\n<tr><td>-L, --dereference<\/td><td>\u30b7\u30f3\u30dc\u30ea\u30c3\u30af\u30ea\u30f3\u30af\u5148\u306e\u30d5\u30a1\u30a4\u30eb\u306e\u30b5\u30a4\u30ba\u3092\u8a08\u6e2c<\/td><td>\u30b7\u30f3\u30ea\u30f3\u30af\u3092\u5b9f\u4f53\u3068\u3057\u3066\u8a08\u6e2c\u3057\u305f\u3044\u6642<\/td><\/tr>\n<tr><td>--apparent-size<\/td><td>\u5b9f\u969b\u306e\u30c7\u30a3\u30b9\u30af\u30d6\u30ed\u30c3\u30af\u3067\u306f\u306a\u304f\u898b\u305f\u76ee\u306e\u30b5\u30a4\u30ba\u3092\u8868\u793a<\/td><td>\u30b9\u30d1\u30fc\u30b9\u30d5\u30a1\u30a4\u30eb\u306e\u5b9f\u30b5\u30a4\u30ba\u78ba\u8a8d<\/td><\/tr>\n<tr><td>-0, --null<\/td><td>\u51fa\u529b\u3092\u6539\u884c\u3067\u306a\u304fNULL\u3067\u533a\u5207\u308b<\/td><td>\u30b9\u30da\u30fc\u30b9\u5165\u308a\u30d5\u30a1\u30a4\u30eb\u540d\u3092\u5b89\u5168\u306b\u51e6\u7406<\/td><\/tr>\n<\/tbody>\n<\/table>\n\n\n\n<h3 class=\"wp-block-heading\">3-1. -h\uff08human-readable\uff09\uff1a\u5fc5\u305a\u4ed8\u3051\u308b\u3079\u304d\u57fa\u672c\u30aa\u30d7\u30b7\u30e7\u30f3<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">-h \u30aa\u30d7\u30b7\u30e7\u30f3\u306f\u300c\u4eba\u9593\u304c\u8aad\u307f\u3084\u3059\u3044\u5f62\u5f0f\uff08human-readable\uff09\u300d\u3067\u30b5\u30a4\u30ba\u3092\u8868\u793a\u3057\u307e\u3059\u3002\u30d0\u30a4\u30c8\u6570\u3067\u306f\u306a\u304f\u30014.0K\u30fb2.3M\u30fb1.7G \u306e\u3088\u3046\u306a\u5358\u4f4d\u4ed8\u304d\u8868\u793a\u306b\u5909\u63db\u3055\u308c\u307e\u3059\u3002\u5b9f\u969b\u306e\u696d\u52d9\u3067\u306f\u3001\u3053\u306e\u30aa\u30d7\u30b7\u30e7\u30f3\u306a\u3057\u3067du\u3092\u4f7f\u3046\u5834\u9762\u306f\u307b\u307c\u306a\u3044\u3068\u8a00\u3063\u3066\u3082\u904e\u8a00\u3067\u306f\u3042\u308a\u307e\u305b\u3093\u3002<\/p>\n\n\n\n<div style=\"background:#1e1e1e;border-radius:8px;padding:20px 24px;margin:20px 0;overflow-x:auto;\">\n  <pre style=\"margin:0;color:#d4d4d4;font-size:14px;line-height:1.6;font-family:'Courier New',monospace;\"># -h \u306a\u3057\uff08\u8aad\u307f\u306b\u304f\u3044\uff09\n$ du \/home\/user\/projects\n2048    \/home\/user\/projects\/website\n51200   \/home\/user\/projects\/dataset\n102400  \/home\/user\/projects\n\n# -h \u3042\u308a\uff08\u76f4\u611f\u7684\u306b\u5206\u304b\u308b\uff09\n$ du -h \/home\/user\/projects\n2.0M    \/home\/user\/projects\/website\n50M     \/home\/user\/projects\/dataset\n100M    \/home\/user\/projects<\/pre>\n<\/div>\n\n\n\n<h3 class=\"wp-block-heading\">3-2. -s\uff08summarize\uff09\uff1a\u5408\u8a08\u3060\u3051\u8868\u793a\u3059\u308b<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">-s \u30aa\u30d7\u30b7\u30e7\u30f3\u306f\u3001\u6307\u5b9a\u3057\u305f\u30d1\u30b9\u306e<strong>\u5408\u8a08\u30b5\u30a4\u30ba\u3060\u3051<\/strong>\u30921\u884c\u3067\u8868\u793a\u3057\u307e\u3059\u3002\u30b5\u30d6\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u304c\u4f55\u767e\u500b\u3042\u3063\u3066\u3082\u3001\u6700\u7d42\u7684\u306a\u5408\u8a081\u884c\u3060\u3051\u304c\u51fa\u3066\u304d\u307e\u3059\u3002\u300c\u3053\u306e\u30d5\u30a9\u30eb\u30c0\u5168\u4f53\u3067\u4f55GB\u304b\uff1f\u300d\u3092\u7d20\u65e9\u304f\u78ba\u8a8d\u3057\u305f\u3044\u6642\u306b\u4f7f\u3044\u307e\u3059\u3002\u8907\u6570\u30d1\u30b9\u3092\u6307\u5b9a\u3057\u3066 -c \u30aa\u30d7\u30b7\u30e7\u30f3\u3082\u4e00\u7dd2\u306b\u4f7f\u3046\u3068\u3001\u305d\u308c\u305e\u308c\u306e\u5408\u8a08\uff0b\u5168\u4f53\u306e\u5408\u8a08\u304c\u78ba\u8a8d\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<div style=\"background:#1e1e1e;border-radius:8px;padding:20px 24px;margin:20px 0;overflow-x:auto;\">\n  <pre style=\"margin:0;color:#d4d4d4;font-size:14px;line-height:1.6;font-family:'Courier New',monospace;\"># \/home \u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u5168\u4f53\u306e\u5408\u8a08\u30b5\u30a4\u30ba\u3060\u3051\u78ba\u8a8d\n$ du -sh \/home\n25G     \/home\n\n# \u8907\u6570\u30d1\u30b9\u306e\u5408\u8a08\u3068\u5168\u4f53\u5408\u8a08\u3092\u8868\u793a\uff08-c \u3068\u7d44\u307f\u5408\u308f\u305b\uff09\n$ du -sh \/var\/log \/home \/tmp -c\n2.3G    \/var\/log\n25G     \/home\n500M    \/tmp\n27.8G   total     \u2190 -c \u3067\u5168\u4f53\u5408\u8a08\u304c\u8ffd\u52a0\u3055\u308c\u308b<\/pre>\n<\/div>\n\n\n\n<div class=\"balloon-wrap is-right\">\n  <div class=\"balloon-icon\">\n    <img decoding=\"async\" src=\"https:\/\/genai-ai.co.jp\/ai-kanri\/wp-content\/uploads\/2026\/04\/yamazaki-avatar.png\" alt=\"AI\u9b3c\u7ba1\u7406\u5c71\u5d0e\">\n    <span class=\"balloon-name\">AI\u9b3c\u7ba1\u7406\u5c71\u5d0e<\/span>\n  <\/div>\n  <div class=\"balloon-body\">-s \u306f\u300c\u3056\u3063\u304f\u308a\u5168\u4f53\u50cf\u3092\u63b4\u3080\u300d\u305f\u3081\u306e\u30aa\u30d7\u30b7\u30e7\u30f3\u3067\u3059\u3002\u5148\u306b -s \u3067\u5927\u304d\u3044\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3092\u628a\u63e1\u3057\u3066\u304b\u3089\u3001--max-depth \u3067\u8a73\u7d30\u3092\u6398\u308a\u4e0b\u3052\u308b\u3068\u3044\u3046\u30a2\u30d7\u30ed\u30fc\u30c1\u304c\u52b9\u7387\u7684\u3067\u3059\u3002<\/div>\n<\/div>\n\n\n\n<h3 class=\"wp-block-heading\">3-3. --max-depth=N\uff1a\u6307\u5b9a\u968e\u5c64\u307e\u3067\u8868\u793a\u3059\u308b\uff08\u6700\u3082\u5b9f\u7528\u7684\uff09<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">--max-depth=N \u306f\u3001\u6307\u5b9a\u3057\u305f<strong>\u968e\u5c64\u6570\u307e\u3067<\/strong>\u306e\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306e\u307f\u8868\u793a\u3057\u307e\u3059\u3002N\u306b1\u3092\u6307\u5b9a\u3059\u308b\u3068\u3001\u6307\u5b9a\u30d1\u30b9\u306e\u76f4\u4e0b\u306e\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306e\u307f\u304c\u8868\u793a\u3055\u308c\u3001\u6df1\u3044\u968e\u5c64\u306f\u975e\u8868\u793a\u306b\u306a\u308a\u307e\u3059\u3002\u5b9f\u969b\u306e\u30b5\u30fc\u30d0\u30fc\u7ba1\u7406\u3067\u306f\u6700\u3082\u983b\u7e41\u306b\u4f7f\u3046\u30aa\u30d7\u30b7\u30e7\u30f3\u306e\u4e00\u3064\u3067\u3059\u3002<\/p>\n\n\n\n<div style=\"background:#1e1e1e;border-radius:8px;padding:20px 24px;margin:20px 0;overflow-x:auto;\">\n  <pre style=\"margin:0;color:#d4d4d4;font-size:14px;line-height:1.6;font-family:'Courier New',monospace;\"># \/var \u306e\u76f4\u4e0b\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306e\u30b5\u30a4\u30ba\u3092\u78ba\u8a8d\uff081\u968e\u5c64\uff09\n$ du -h --max-depth=1 \/var\n2.3G    \/var\/log\n4.5G    \/var\/lib\n200M    \/var\/cache\n50M     \/var\/tmp\n7.1G    \/var\n\n# 2\u968e\u5c64\u307e\u3067\u5c55\u958b\u3057\u3066\u78ba\u8a8d\n$ du -h --max-depth=2 \/var\n2.1G    \/var\/log\/nginx\n180M    \/var\/log\/mysql\n2.3G    \/var\/log\n3.8G    \/var\/lib\/docker\n700M    \/var\/lib\/mysql\n4.5G    \/var\/lib\n...<\/pre>\n<\/div>\n\n\n\n<div style=\"background:#f0fdf4;border:1px solid #22c55e;border-radius:8px;padding:20px 24px;margin:24px 0;\">\n  <div style=\"display:flex;align-items:center;gap:8px;margin-bottom:12px;\">\n    <span style=\"font-size:18px;\">&#128161;<\/span>\n    <strong style=\"color:#16a34a;font-size:15px;\">--max-depth=1 \u306f\u30c7\u30a3\u30b9\u30af\u8abf\u67fb\u306e\u8d77\u70b9<\/strong>\n  <\/div>\n  <p style=\"margin:0;font-size:15px;line-height:1.8;color:#333;\">\u5927\u5bb9\u91cf\u306e\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3092\u7d5e\u308a\u8fbc\u3080\u969b\u306f\u3001\u307e\u305a --max-depth=1 \u3067\u30c8\u30c3\u30d7\u30ec\u30d9\u30eb\u3092\u78ba\u8a8d\u3057\u3001\u5bb9\u91cf\u304c\u5927\u304d\u3044\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306b\u7d5e\u3063\u3066 --max-depth=2 \u3067\u6b21\u306e\u968e\u5c64\u3092\u78ba\u8a8d\u3059\u308b\u3001\u3068\u3044\u3046\u30c8\u30c3\u30d7\u30c0\u30a6\u30f3\u65b9\u5f0f\u304c\u52b9\u7387\u7684\u3067\u3059\u3002<\/p>\n<\/div>\n\n\n\n<h3 class=\"wp-block-heading\">3-4. -a\uff08all\uff09\uff1a\u30d5\u30a1\u30a4\u30eb\u3082\u500b\u5225\u306b\u8868\u793a\u3059\u308b<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">-a \u30aa\u30d7\u30b7\u30e7\u30f3\u3092\u4ed8\u3051\u308b\u3068\u3001\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3060\u3051\u3067\u306a\u304f<strong>\u500b\u3005\u306e\u30d5\u30a1\u30a4\u30eb\u306e\u30b5\u30a4\u30ba\u3082\u8868\u793a<\/strong>\u3055\u308c\u307e\u3059\u3002\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u306f\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306e\u5408\u8a08\u306e\u307f\u8868\u793a\u3055\u308c\u307e\u3059\u304c\u3001-a \u3092\u4ed8\u3051\u308b\u3068\u30d5\u30a1\u30a4\u30eb1\u30641\u3064\u304c\u5217\u6319\u3055\u308c\u307e\u3059\u3002\u5f8c\u8ff0\u3059\u308bsort\u30b3\u30de\u30f3\u30c9\u3068\u7d44\u307f\u5408\u308f\u305b\u308b\u3053\u3068\u3067\u300c\u3053\u306e\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3067\u6700\u3082\u5927\u304d\u3044\u30d5\u30a1\u30a4\u30eb\u306f\u3069\u308c\u304b\u300d\u3092\u7279\u5b9a\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<div style=\"background:#1e1e1e;border-radius:8px;padding:20px 24px;margin:20px 0;overflow-x:auto;\">\n  <pre style=\"margin:0;color:#d4d4d4;font-size:14px;line-height:1.6;font-family:'Courier New',monospace;\"># \u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306e\u307f\u8868\u793a\uff08\u30c7\u30d5\u30a9\u30eb\u30c8\uff09\n$ du -h \/var\/log\n4.0K    \/var\/log\/apt\n2.3G    \/var\/log\n\n# \u30d5\u30a1\u30a4\u30eb\u3082\u8868\u793a\uff08-a \u30aa\u30d7\u30b7\u30e7\u30f3\uff09\n$ du -ha \/var\/log\n4.0K    \/var\/log\/apt\/term.log\n8.0K    \/var\/log\/auth.log\n1.8G    \/var\/log\/nginx\/access.log    \u2190 \u5927\u304d\u3044\u30d5\u30a1\u30a4\u30eb\u304c\u898b\u3048\u308b\n500M    \/var\/log\/mysql\/mysql.log\n2.3G    \/var\/log<\/pre>\n<\/div>\n\n\n\n<h3 class=\"wp-block-heading\">3-5. --exclude=PATTERN\uff1a\u7279\u5b9a\u30d5\u30a1\u30a4\u30eb\u3092\u9664\u5916\u3059\u308b<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">--exclude=PATTERN \u3092\u4f7f\u3046\u3068\u3001\u6307\u5b9a\u3057\u305f\u30d1\u30bf\u30fc\u30f3\u306b\u4e00\u81f4\u3059\u308b\u30d5\u30a1\u30a4\u30eb\u3084\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3092\u30ab\u30a6\u30f3\u30c8\u304b\u3089\u9664\u5916\u3067\u304d\u307e\u3059\u3002\u4f8b\u3048\u3070Docker\u30b3\u30f3\u30c6\u30ca\u30a4\u30e1\u30fc\u30b8\u3084Python\u306e\u4eee\u60f3\u74b0\u5883\uff08venv\uff09\u306a\u3069\u3001\u300c\u672c\u6765\u306e\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3068\u306f\u5225\u306e\u5927\u5bb9\u91cf\u30d5\u30a1\u30a4\u30eb\u300d\u3092\u9664\u3044\u3066\u8a08\u6e2c\u3057\u305f\u3044\u5834\u5408\u306b\u4fbf\u5229\u3067\u3059\u3002\u30ef\u30a4\u30eb\u30c9\u30ab\u30fc\u30c9\uff08*\uff09\u304c\u4f7f\u3048\u307e\u3059\u3002<\/p>\n\n\n\n<div style=\"background:#1e1e1e;border-radius:8px;padding:20px 24px;margin:20px 0;overflow-x:auto;\">\n  <pre style=\"margin:0;color:#d4d4d4;font-size:14px;line-height:1.6;font-family:'Courier New',monospace;\"># .git\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3092\u9664\u5916\u3057\u3066\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u30b5\u30a4\u30ba\u3092\u8a08\u6e2c\n$ du -sh --exclude=\".git\" \/home\/user\/myproject\n\n# node_modules \u3068 .cache \u3092\u9664\u5916\n$ du -sh --exclude=\"node_modules\" --exclude=\".cache\" \/home\/user\/app\n\n# \u8907\u6570\u306e\u62e1\u5f35\u5b50\u3092\u9664\u5916\uff08\u30ed\u30b0\u30d5\u30a1\u30a4\u30eb\u306a\u3069\uff09\n$ du -sh --exclude=\"*.log\" --exclude=\"*.tmp\" \/var<\/pre>\n<\/div>\n\n\n<div style=\"margin:48px 0 8px;display:flex;gap:12px;justify-content:center;flex-wrap:wrap;\"><a href=\"https:\/\/aikanri.genai-ai.co.jp\/seminar2-blog\/?utm_source=blog&#038;utm_medium=h2banner&#038;utm_content=cc-linux-du&#038;blog_slug=cc-linux-du\" target=\"_blank\" rel=\"noopener\" aria-label=\"Claude Code \u5b8c\u5168\u89e3\u8aac\u30bb\u30df\u30ca\u30fc\uff08\u7121\u6599\u30fb1on1\u30fb60\u5206\uff09\u306e\u4e88\u7d04\u753b\u9762\u3078\" style=\"flex:1 1 280px;max-width:360px;text-decoration:none;\"><img decoding=\"async\" src=\"https:\/\/genai-ai.co.jp\/ai-kanri\/wp-content\/uploads\/2026\/05\/cta_seminar_claude_code_2026.jpg\" alt=\"Claude Code \u5b8c\u5168\u89e3\u8aac\u30bb\u30df\u30ca\u30fc\uff5c\u7d4c\u55b6\u8005\u30fb\u4f1a\u793e\u5f79\u54e1\u5c02\u7528 1on1 60\u5206 \u7121\u6599\" style=\"width:100%;height:auto;border-radius:8px;display:block;\"><\/a><a href=\"https:\/\/aikanri.genai-ai.co.jp\/?utm_source=blog&#038;utm_medium=h2banner&#038;utm_campaign=cc-linux-du&#038;utm_content=h2-banner-kanri\" target=\"_blank\" rel=\"noopener\" aria-label=\"AI\u9b3c\u7ba1\u7406 \u516c\u5f0f\u30b5\u30a4\u30c8\u3078\" style=\"flex:1 1 280px;max-width:360px;text-decoration:none;\"><img decoding=\"async\" src=\"https:\/\/genai-ai.co.jp\/ai-kanri\/wp-content\/uploads\/2026\/05\/cta_blog_1to1.jpg\" alt=\"Claude Code\u3092\u7d4c\u55b6\u306b\u6d3b\u304b\u3057\u305f\u3044\u65b9\u3078 \u2014 AI\u9b3c\u7ba1\u7406\" style=\"width:100%;height:auto;border-radius:8px;display:block;\"><\/a><\/div>\n\n\n<div id=\"sec-04\"><\/div>\n<h2 class=\"section-header-img\" style=\"margin:32px 0 24px;border-radius:8px;overflow:hidden;background:linear-gradient(135deg,#1a1a1a 0%,#2a1015 100%);padding:32px 28px;color:#fff;position:relative;border:none;border-left:none;text-align:left;\">\n  <span class=\"section-number\" style=\"display:block;\">04<\/span>\n  <span class=\"section-label\" style=\"display:block;\">DU + SORT<\/span>\n  <span class=\"section-title\" style=\"display:block;\">sort\u30b3\u30de\u30f3\u30c9\u3068\u7d44\u307f\u5408\u308f\u305b\u308b\u2015\u2015\u5bb9\u91cf\u5927\u304d\u3044\u9806\u306b\u4e26\u3079\u308b<\/span>\n  <span class=\"section-desc\">\u300c\u3069\u306e\u30d5\u30a9\u30eb\u30c0\u304c\u4e00\u756a\u30c7\u30ab\u3044\u304b\u300d\u3092\u77ac\u6642\u306b\u7279\u5b9a\u3059\u308b\u5b9f\u8df5\u7684\u306a\u4f7f\u3044\u65b9<\/span>\n<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">du\u30b3\u30de\u30f3\u30c9\u5358\u4f53\u3067\u306f\u51fa\u529b\u304c\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u69cb\u9020\u306b\u6cbf\u3063\u305f\u9806\u756a\u306b\u306a\u308b\u305f\u3081\u3001\u300c\u3069\u3053\u304c\u4e00\u756a\u5bb9\u91cf\u3092\u4f7f\u3063\u3066\u3044\u308b\u304b\u300d\u304c\u3059\u3050\u306b\u306f\u5206\u304b\u308a\u307e\u305b\u3093\u3002\u3053\u3053\u3067 <strong>sort\u30b3\u30de\u30f3\u30c9<\/strong>\u3068\u30d1\u30a4\u30d7\uff08|\uff09\u3067\u7d44\u307f\u5408\u308f\u305b\u308b\u3053\u3068\u3067\u3001\u300c\u5bb9\u91cf\u306e\u5927\u304d\u3044\u9806\u306b\u4e26\u3079\u308b\u300d\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u5b9f\u969b\u306e\u30b5\u30fc\u30d0\u30fc\u8abf\u67fb\u3067\u307b\u307c\u6bce\u56de\u4f7f\u3046\u30d1\u30bf\u30fc\u30f3\u3067\u3059\u3002<\/p>\n\n\n\n<div style=\"background:#f8f9fa;border-left:4px solid #6b7280;border-radius:0 8px 8px 0;padding:16px 20px;margin:20px 0;\">\n  <p style=\"margin:0 0 4px;font-size:13px;font-weight:700;color:#6b7280;letter-spacing:1px;\">&#128218; \u7528\u8a9e\u89e3\u8aac<\/p>\n  <p style=\"margin:0;font-size:15px;line-height:1.7;\"><strong>\u30d1\u30a4\u30d7\uff08|\uff09<\/strong>\uff1aLinux\u306e\u30b3\u30de\u30f3\u30c9\u3092\u3064\u306a\u3050\u4ed5\u7d44\u307f\u3002\u5de6\u306e\u30b3\u30de\u30f3\u30c9\u306e\u51fa\u529b\u3092\u53f3\u306e\u30b3\u30de\u30f3\u30c9\u306e\u5165\u529b\u3068\u3057\u3066\u6e21\u3057\u307e\u3059\u3002du | sort \u306a\u3089\u300cdu\u306e\u7d50\u679c\u3092sort\u306b\u6e21\u3057\u3066\u4e26\u3079\u66ff\u3048\u308b\u300d\u3068\u3044\u3046\u610f\u5473\u3002\u8907\u6570\u306e\u30b3\u30de\u30f3\u30c9\u3092\u30c1\u30a7\u30fc\u30f3\u3057\u3066\u3088\u308a\u8907\u96d1\u306a\u51e6\u7406\u3092\u5b9f\u73fe\u3067\u304d\u307e\u3059\u3002<\/p>\n<\/div>\n\n\n\n<h3 class=\"wp-block-heading\">4-1. \u57fa\u672c\u7684\u306a\u7d44\u307f\u5408\u308f\u305b\u30d1\u30bf\u30fc\u30f3<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">du -h \u306e\u51fa\u529b\u3092 sort -rh \u306b\u6e21\u3059\u3068\u3001\u4eba\u9593\u304c\u8aad\u307f\u3084\u3059\u3044\u5358\u4f4d\uff08K\u30fbM\u30fbG\uff09\u3092\u8003\u616e\u3057\u305f\u4e0a\u3067\u3001\u5927\u304d\u3044\u9806\uff08-r: reverse, -h: human-readable sort\uff09\u306b\u4e26\u3079\u66ff\u3048\u3066\u304f\u308c\u307e\u3059\u3002\u3053\u306e -rh \u306e\u7d44\u307f\u5408\u308f\u305b\u304c\u91cd\u8981\u3067\u3001-rh \u306a\u3057\u3060\u3068\u6570\u5b57\u306e\u5927\u5c0f\u3067\u306f\u306a\u304f\u6587\u5b57\u5217\u3068\u3057\u3066\u4e26\u3079\u3089\u308c\u3001\u300c10M \u304c 2M \u3088\u308a\u5c0f\u3055\u3044\u300d\u3068\u3044\u3046\u8aa4\u3063\u305f\u4e26\u3073\u9806\u306b\u306a\u308b\u3053\u3068\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<div style=\"background:#1e1e1e;border-radius:8px;padding:20px 24px;margin:20px 0;overflow-x:auto;\">\n  <pre style=\"margin:0;color:#d4d4d4;font-size:14px;line-height:1.6;font-family:'Courier New',monospace;\"># \u30ab\u30ec\u30f3\u30c8\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306e\u5bb9\u91cf\u3092\u5927\u304d\u3044\u9806\u306b\u8868\u793a\n$ du -h | sort -rh\n\n# \/var \u4ee5\u4e0b\u30921\u968e\u5c64\u3067\u5927\u304d\u3044\u9806\u306b\u8868\u793a\uff08\u6700\u3082\u4f7f\u3046\u7d44\u307f\u5408\u308f\u305b\uff09\n$ du -h --max-depth=1 \/var | sort -rh\n4.5G    \/var\/lib\n2.3G    \/var\/log\n200M    \/var\/cache\n50M     \/var\/tmp\n7.1G    \/var\n\n# \u4e0a\u4f4d10\u4ef6\u3060\u3051\u8868\u793a\uff08head \u3068\u7d44\u307f\u5408\u308f\u305b\uff09\n$ du -h --max-depth=1 \/ | sort -rh | head -10<\/pre>\n<\/div>\n\n\n\n<h3 class=\"wp-block-heading\">4-2. \u30db\u30fc\u30e0\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306e\u4f7f\u7528\u91cfTOP10\u3092\u8abf\u3079\u308b<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\u30e6\u30fc\u30b6\u30fc\u306e\u30db\u30fc\u30e0\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\uff08\/home\/username\/\uff09\u304c\u80a5\u5927\u5316\u3057\u3066\u3044\u308b\u5834\u5408\u3001\u3069\u306e\u30b5\u30d6\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u304c\u539f\u56e0\u304b\u3092\u7279\u5b9a\u3059\u308b\u306e\u306b\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u304c\u4fbf\u5229\u3067\u3059\u3002\u7279\u306bAI\u30fb\u6a5f\u68b0\u5b66\u7fd2\u306e\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3067\u30c7\u30fc\u30bf\u30bb\u30c3\u30c8\u304c\u81a8\u308c\u4e0a\u304c\u308b\u30b1\u30fc\u30b9\u304c\u591a\u304f\u3001\u5f0a\u793e\u3067\u3082\u67081\u56de\u7a0b\u5ea6\u3053\u306e\u30b3\u30de\u30f3\u30c9\u3067\u5b9a\u671f\u30c1\u30a7\u30c3\u30af\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<div style=\"background:#1e1e1e;border-radius:8px;padding:20px 24px;margin:20px 0;overflow-x:auto;\">\n  <pre style=\"margin:0;color:#d4d4d4;font-size:14px;line-height:1.6;font-family:'Courier New',monospace;\"># \u30db\u30fc\u30e0\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306e\u30b5\u30d6\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3092\u30b5\u30a4\u30ba\u9806\u306b\u8868\u793a\n$ du -sh ~\/* | sort -rh | head -10\n25G     \/home\/user\/datasets\n8.5G    \/home\/user\/models\n3.2G    \/home\/user\/videos\n1.5G    \/home\/user\/backups\n800M    \/home\/user\/logs\n...\n\n# \u96a0\u3057\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\uff08.\u3067\u59cb\u307e\u308b\uff09\u3082\u542b\u3081\u308b\u5834\u5408\n$ du -sh ~\/.* ~\/* 2&gt;\/dev\/null | sort -rh | head -15<\/pre>\n<\/div>\n\n\n\n<div class=\"balloon-wrap\">\n  <div class=\"balloon-icon\">\n    <img decoding=\"async\" src=\"https:\/\/genai-ai.co.jp\/ai-kanri\/wp-content\/uploads\/2026\/04\/ceo-sugasawa.jpg\" alt=\"\u4ee3\u8868\u83c5\u6fa4\">\n    <span class=\"balloon-name\">\u4ee3\u8868\u83c5\u6fa4<\/span>\n  <\/div>\n  <div class=\"balloon-body\">\u300c\u306a\u305c\u304b\u6025\u306b\u30c7\u30a3\u30b9\u30af\u304c\u6e1b\u3063\u305f\u300d\u3068\u3044\u3046\u30a2\u30e9\u30fc\u30c8\u304c\u6765\u305f\u3068\u304d\u3001\u307e\u305a\u3053\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u307e\u3059\u3002\u305f\u3044\u3066\u3044\u306f\u30e2\u30c7\u30eb\u306e\u30c1\u30a7\u30c3\u30af\u30dd\u30a4\u30f3\u30c8\u30d5\u30a1\u30a4\u30eb\u3084\u30ed\u30b0\u306e\u84c4\u7a4d\u304c\u539f\u56e0\u3067\u3001\u6570\u5206\u3067\u7279\u5b9a\u3067\u304d\u307e\u3059\u3002<\/div>\n<\/div>\n\n\n\n<h3 class=\"wp-block-heading\">4-3. \u30d5\u30a1\u30a4\u30eb\u3082\u542b\u3081\u3066\u5927\u304d\u3044\u3082\u306e\u9806\u306b\u4e26\u3079\u308b<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3067\u306f\u306a\u304f\u3001\u500b\u3005\u306e\u30d5\u30a1\u30a4\u30eb\u306e\u4e2d\u3067\u6700\u3082\u5927\u304d\u3044\u3082\u306e\u3092\u63a2\u3057\u305f\u3044\u5834\u5408\u306f -a \u30aa\u30d7\u30b7\u30e7\u30f3\u3092\u7d44\u307f\u5408\u308f\u305b\u307e\u3059\u3002\u305f\u3060\u3057 -a \u306f\u5168\u30d5\u30a1\u30a4\u30eb\u3092\u5217\u6319\u3059\u308b\u305f\u3081\u5927\u91cf\u306e\u884c\u304c\u51fa\u3066\u304f\u308b\u3053\u3068\u306b\u6ce8\u610f\u3057\u3001head \u3084 grep \u3068\u7d44\u307f\u5408\u308f\u305b\u3066\u7d5e\u308a\u8fbc\u3080\u3053\u3068\u3092\u63a8\u5968\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<div style=\"background:#1e1e1e;border-radius:8px;padding:20px 24px;margin:20px 0;overflow-x:auto;\">\n  <pre style=\"margin:0;color:#d4d4d4;font-size:14px;line-height:1.6;font-family:'Courier New',monospace;\"># \/var\/log \u4ee5\u4e0b\u306e\u30d5\u30a1\u30a4\u30eb\u3092\u5927\u304d\u3044\u9806\u306b\u8868\u793a\uff08\u4e0a\u4f4d20\u4ef6\uff09\n$ du -ah \/var\/log | sort -rh | head -20\n1.8G    \/var\/log\/nginx\/access.log\n500M    \/var\/log\/mysql\/mysql.log\n200M    \/var\/log\/syslog\n...\n\n# 100MB\u4ee5\u4e0a\u306e\u30d5\u30a1\u30a4\u30eb\u306e\u307f\u8868\u793a\n$ du -ah \/var | sort -rh | awk '$1 ~ \/G|[0-9]{3}M\/ {print}'\n\n# \u7279\u5b9a\u306e\u62e1\u5f35\u5b50\u3060\u3051\u5bfe\u8c61\u306b\u3059\u308b\n$ find \/var\/log -name \"*.log\" -exec du -sh {} \\; | sort -rh | head -10<\/pre>\n<\/div>\n\n\n<div style=\"margin:48px 0 8px;display:flex;gap:12px;justify-content:center;flex-wrap:wrap;\"><a href=\"https:\/\/aikanri.genai-ai.co.jp\/seminar2-blog\/?utm_source=blog&#038;utm_medium=h2banner&#038;utm_content=cc-linux-du&#038;blog_slug=cc-linux-du\" target=\"_blank\" rel=\"noopener\" aria-label=\"Claude Code \u5b8c\u5168\u89e3\u8aac\u30bb\u30df\u30ca\u30fc\uff08\u7121\u6599\u30fb1on1\u30fb60\u5206\uff09\u306e\u4e88\u7d04\u753b\u9762\u3078\" style=\"flex:1 1 280px;max-width:360px;text-decoration:none;\"><img decoding=\"async\" src=\"https:\/\/genai-ai.co.jp\/ai-kanri\/wp-content\/uploads\/2026\/05\/cta_seminar_claude_code_2026.jpg\" alt=\"Claude Code \u5b8c\u5168\u89e3\u8aac\u30bb\u30df\u30ca\u30fc\uff5c\u7d4c\u55b6\u8005\u30fb\u4f1a\u793e\u5f79\u54e1\u5c02\u7528 1on1 60\u5206 \u7121\u6599\" style=\"width:100%;height:auto;border-radius:8px;display:block;\"><\/a><a href=\"https:\/\/aikanri.genai-ai.co.jp\/?utm_source=blog&#038;utm_medium=h2banner&#038;utm_campaign=cc-linux-du&#038;utm_content=h2-banner-kanri\" target=\"_blank\" rel=\"noopener\" aria-label=\"AI\u9b3c\u7ba1\u7406 \u516c\u5f0f\u30b5\u30a4\u30c8\u3078\" style=\"flex:1 1 280px;max-width:360px;text-decoration:none;\"><img decoding=\"async\" src=\"https:\/\/genai-ai.co.jp\/ai-kanri\/wp-content\/uploads\/2026\/05\/cta_blog_1to1.jpg\" alt=\"Claude Code\u3092\u7d4c\u55b6\u306b\u6d3b\u304b\u3057\u305f\u3044\u65b9\u3078 \u2014 AI\u9b3c\u7ba1\u7406\" style=\"width:100%;height:auto;border-radius:8px;display:block;\"><\/a><\/div>\n\n\n<div id=\"sec-05\"><\/div>\n<h2 class=\"section-header-img\" style=\"margin:32px 0 24px;border-radius:8px;overflow:hidden;background:linear-gradient(135deg,#1a1a1a 0%,#2a1015 100%);padding:32px 28px;color:#fff;position:relative;border:none;border-left:none;text-align:left;\">\n  <span class=\"section-number\" style=\"display:block;\">05<\/span>\n  <span class=\"section-label\" style=\"display:block;\">DU + FIND<\/span>\n  <span class=\"section-title\" style=\"display:block;\">find\u30b3\u30de\u30f3\u30c9\u3068\u7d44\u307f\u5408\u308f\u305b\u308b\u2015\u2015\u6761\u4ef6\u4ed8\u304d\u691c\u7d22<\/span>\n  <span class=\"section-desc\">\u30d5\u30a1\u30a4\u30eb\u30b5\u30a4\u30ba\u30fb\u66f4\u65b0\u65e5\u6642\u30fb\u62e1\u5f35\u5b50\u306a\u3069\u306e\u6761\u4ef6\u3067\u7d5e\u308a\u8fbc\u3080\u9ad8\u5ea6\u306a\u4f7f\u3044\u65b9<\/span>\n<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">du\u30b3\u30de\u30f3\u30c9\u306f\u300c\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u5168\u4f53\u306e\u5408\u8a08\u300d\u3092\u8abf\u3079\u308b\u306e\u304c\u5f97\u610f\u3067\u3059\u304c\u3001\u300c\u7279\u5b9a\u306e\u6761\u4ef6\uff08\u4f8b: 1GB\u4ee5\u4e0a\u306e\u30d5\u30a1\u30a4\u30eb\u300130\u65e5\u4ee5\u4e0a\u30a2\u30af\u30bb\u30b9\u3055\u308c\u3066\u3044\u306a\u3044\u30d5\u30a1\u30a4\u30eb\uff09\u3092\u6e80\u305f\u3059\u3082\u306e\u300d\u3092\u63a2\u3057\u305f\u3044\u5834\u5408\u306f <strong>find\u30b3\u30de\u30f3\u30c9\u3068\u7d44\u307f\u5408\u308f\u305b\u308b<\/strong>\u306e\u304c\u52b9\u679c\u7684\u3067\u3059\u3002find\u3067\u6761\u4ef6\u306b\u4e00\u81f4\u3059\u308b\u30d5\u30a1\u30a4\u30eb\u3092\u7d5e\u308a\u8fbc\u307f\u3001\u305d\u306e\u7d50\u679c\u3092du\u306b\u6e21\u3057\u3066\u30b5\u30a4\u30ba\u3092\u8868\u793a\u3059\u308b\u30d1\u30bf\u30fc\u30f3\u3067\u3059\u3002<\/p>\n\n\n\n<div style=\"background:#f8f9fa;border-left:4px solid #6b7280;border-radius:0 8px 8px 0;padding:16px 20px;margin:20px 0;\">\n  <p style=\"margin:0 0 4px;font-size:13px;font-weight:700;color:#6b7280;letter-spacing:1px;\">&#128218; \u7528\u8a9e\u89e3\u8aac<\/p>\n  <p style=\"margin:0;font-size:15px;line-height:1.7;\"><strong>find\u30b3\u30de\u30f3\u30c9<\/strong>\uff1aLinux\u306e\u30d5\u30a1\u30a4\u30eb\u691c\u7d22\u30b3\u30de\u30f3\u30c9\u3002\u30b5\u30a4\u30ba\u30fb\u66f4\u65b0\u65e5\u6642\u30fb\u62e1\u5f35\u5b50\u30fb\u6240\u6709\u8005\u306a\u3069\u3001\u69d8\u3005\u306a\u6761\u4ef6\u3067\u30d5\u30a1\u30a4\u30eb\u3092\u7d5e\u308a\u8fbc\u3081\u308b\u3002du \u3068\u7d44\u307f\u5408\u308f\u305b\u308b\u3068\u300c\u6761\u4ef6\u3092\u6e80\u305f\u3059\u30d5\u30a1\u30a4\u30eb\u306e\u5408\u8a08\u30b5\u30a4\u30ba\u300d\u3092\u8a08\u7b97\u3067\u304d\u307e\u3059\u3002<\/p>\n<\/div>\n\n\n\n<h3 class=\"wp-block-heading\">5-1. \u5927\u304d\u3044\u30d5\u30a1\u30a4\u30eb\u3092\u63a2\u3059\uff081GB\u4ee5\u4e0a\uff09<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\u30c7\u30a3\u30b9\u30af\u3092\u5727\u8feb\u3057\u3066\u3044\u308b\u5927\u304d\u306a\u30d5\u30a1\u30a4\u30eb\u3092\u76f4\u63a5\u7279\u5b9a\u3057\u305f\u3044\u5834\u5408\u3001find\u306e -size \u30aa\u30d7\u30b7\u30e7\u30f3\u3067\u30b5\u30a4\u30ba\u306b\u3088\u308b\u7d5e\u308a\u8fbc\u307f\u304c\u53ef\u80fd\u3067\u3059\u3002\u30b5\u30fc\u30d0\u30fc\u306b\u6c17\u3065\u304b\u306a\u3044\u3046\u3061\u306b\u5de8\u5927\u306a\u30c0\u30f3\u30d7\u30d5\u30a1\u30a4\u30eb\u3084\u30e1\u30e2\u30ea\u30c0\u30f3\u30d7\u304c\u4f5c\u6210\u3055\u308c\u308b\u3053\u3068\u304c\u3042\u308a\u3001\u3053\u306e\u30b3\u30de\u30f3\u30c9\u3067\u7d20\u65e9\u304f\u767a\u898b\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<div style=\"background:#1e1e1e;border-radius:8px;padding:20px 24px;margin:20px 0;overflow-x:auto;\">\n  <pre style=\"margin:0;color:#d4d4d4;font-size:14px;line-height:1.6;font-family:'Courier New',monospace;\"># \u30db\u30fc\u30e0\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u30671GB\u4ee5\u4e0a\u306e\u30d5\u30a1\u30a4\u30eb\u3092\u63a2\u3059\n$ find \/home -type f -size +1G 2&gt;\/dev\/null | xargs du -sh | sort -rh\n\n# \/var \u4ee5\u4e0b\u3067100MB\u4ee5\u4e0a\u306e\u30d5\u30a1\u30a4\u30eb\u3092\u63a2\u3059\n$ find \/var -type f -size +100M 2&gt;\/dev\/null -exec du -sh {} \\; | sort -rh\n\n# \u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3067500MB\u4ee5\u4e0a\u306e\u30d5\u30a1\u30a4\u30eb\u3092\u63a2\u3059\n$ find \/srv\/projects -type f -size +500M -exec du -sh {} \\; | sort -rh<\/pre>\n<\/div>\n\n\n\n<h3 class=\"wp-block-heading\">5-2. \u53e4\u3044\u30d5\u30a1\u30a4\u30eb\u3092\u63a2\u3059\uff0830\u65e5\u4ee5\u4e0a\u30a2\u30af\u30bb\u30b9\u306a\u3057\uff09<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\u9577\u671f\u9593\u30a2\u30af\u30bb\u30b9\u3055\u308c\u3066\u3044\u306a\u3044\u30d5\u30a1\u30a4\u30eb\u306f\u524a\u9664\u306e\u5019\u88dc\u306b\u306a\u308a\u307e\u3059\u3002find\u306e -atime \u30aa\u30d7\u30b7\u30e7\u30f3\u3067\u30a2\u30af\u30bb\u30b9\u6642\u523b\u306b\u3088\u308b\u7d5e\u308a\u8fbc\u307f\u304c\u3067\u304d\u307e\u3059\u3002\u305f\u3060\u3057\u524a\u9664\u524d\u306b\u306f\u5185\u5bb9\u3092\u78ba\u8a8d\u3057\u3001\u672c\u5f53\u306b\u4e0d\u8981\u304b\u3092\u5224\u65ad\u3059\u308b\u3053\u3068\u304c\u91cd\u8981\u3067\u3059\u3002<\/p>\n\n\n\n<div style=\"background:#1e1e1e;border-radius:8px;padding:20px 24px;margin:20px 0;overflow-x:auto;\">\n  <pre style=\"margin:0;color:#d4d4d4;font-size:14px;line-height:1.6;font-family:'Courier New',monospace;\"># 30\u65e5\u4ee5\u4e0a\u30a2\u30af\u30bb\u30b9\u3055\u308c\u3066\u3044\u306a\u3044\u30ed\u30b0\u30d5\u30a1\u30a4\u30eb\u3092\u63a2\u3059\n$ find \/var\/log -name \"*.log\" -atime +30 -exec du -sh {} \\; | sort -rh\n\n# 90\u65e5\u4ee5\u4e0a\u66f4\u65b0\u3055\u308c\u3066\u3044\u306a\u3044 .bak \u30d5\u30a1\u30a4\u30eb\u3092\u63a2\u3059\uff08\u66f4\u65b0\u6642\u523b\uff09\n$ find \/home -name \"*.bak\" -mtime +90 2&gt;\/dev\/null -exec du -sh {} \\; | sort -rh\n\n# \u7d50\u679c\u3092\u30d5\u30a1\u30a4\u30eb\u306b\u4fdd\u5b58\u3057\u3066\u304a\u304f\uff08\u5f8c\u3067\u78ba\u8a8d\u30fb\u524a\u9664\u5224\u65ad\uff09\n$ find \/var -mtime +60 -type f 2&gt;\/dev\/null &gt; \/tmp\/old_files.txt\n$ wc -l \/tmp\/old_files.txt   # \u4ef6\u6570\u78ba\u8a8d\n$ du -sh \/var\/log\/*.log 2&gt;\/dev\/null  # \u30ed\u30b0\u5408\u8a08\u30b5\u30a4\u30ba\u3092\u624b\u52d5\u78ba\u8a8d<\/pre>\n<\/div>\n\n\n\n<div style=\"background:#fef2f2;border:2px solid #dc2626;border-radius:8px;padding:20px 24px;margin:24px 0;\">\n  <div style=\"display:flex;align-items:center;gap:8px;margin-bottom:12px;\">\n    <span style=\"font-size:20px;\">&#9888;&#65039;<\/span>\n    <strong style=\"color:#dc2626;font-size:16px;\">\u524a\u9664\u306f\u614e\u91cd\u306b<\/strong>\n  <\/div>\n  <p style=\"margin:0;font-size:15px;line-height:1.8;color:#333;\">find\u3067\u898b\u3064\u3051\u305f\u30d5\u30a1\u30a4\u30eb\u3092\u5373\u5ea7\u306brm -f\u3067\u524a\u9664\u3059\u308b\u306e\u306f\u5371\u967a\u3067\u3059\u3002\u5fc5\u305a\u30ea\u30b9\u30c8\u3092\u30d5\u30a1\u30a4\u30eb\u306b\u4fdd\u5b58\u3057\u3066\u304b\u3089\u5185\u5bb9\u3092\u78ba\u8a8d\u3057\u3001\u672c\u5f53\u306b\u4e0d\u8981\u304b\u3092\u5224\u65ad\u3057\u305f\u4e0a\u3067\u524a\u9664\u3057\u3066\u304f\u3060\u3055\u3044\u3002\u7279\u306b\u30b7\u30b9\u30c6\u30e0\u30d5\u30a1\u30a4\u30eb\u3084\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u3092\u8aa4\u3063\u3066\u524a\u9664\u3059\u308b\u3068\u3001\u30b5\u30fc\u30d3\u30b9\u304c\u8d77\u52d5\u3057\u306a\u304f\u306a\u308b\u5834\u5408\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<\/div>\n\n\n\n<h3 class=\"wp-block-heading\">5-3. \u7279\u5b9a\u306e\u62e1\u5f35\u5b50\u30d5\u30a1\u30a4\u30eb\u306e\u5408\u8a08\u30b5\u30a4\u30ba\u3092\u8a08\u7b97\u3059\u308b<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\u300c\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u5185\u306e\u3059\u3079\u3066\u306e .csv \u30d5\u30a1\u30a4\u30eb\u306f\u5408\u8a08\u4f55GB\u304b\u300d\u300c\u30ed\u30b0\u30d5\u30a1\u30a4\u30eb\u5168\u90e8\u3067\u3069\u306e\u304f\u3089\u3044\u5bb9\u91cf\u3092\u53d6\u3063\u3066\u3044\u308b\u304b\u300d\u3092\u8abf\u3079\u305f\u3044\u5834\u9762\u304c\u3042\u308a\u307e\u3059\u3002find\u3067\u62e1\u5f35\u5b50\u3092\u7d5e\u308a\u8fbc\u307f\u3001xargs du \u3067\u5408\u8a08\u30b5\u30a4\u30ba\u3092\u8a08\u7b97\u3059\u308b\u30d1\u30bf\u30fc\u30f3\u304c\u4fbf\u5229\u3067\u3059\u3002<\/p>\n\n\n\n<div style=\"background:#1e1e1e;border-radius:8px;padding:20px 24px;margin:20px 0;overflow-x:auto;\">\n  <pre style=\"margin:0;color:#d4d4d4;font-size:14px;line-height:1.6;font-family:'Courier New',monospace;\"># \u3059\u3079\u3066\u306e .csv \u30d5\u30a1\u30a4\u30eb\u306e\u5408\u8a08\u30b5\u30a4\u30ba\n$ find \/home\/user\/data -name \"*.csv\" | xargs du -sh 2&gt;\/dev\/null\n\n# \u30ed\u30b0\u30d5\u30a1\u30a4\u30eb\u306e\u5408\u8a08\u30b5\u30a4\u30ba\uff08\u518d\u5e30\u7684\u306b\uff09\n$ find \/var\/log -name \"*.log\" -print0 | xargs -0 du -sc | tail -1\n\n# Docker\u30a4\u30e1\u30fc\u30b8\u306e\u5408\u8a08\u30b5\u30a4\u30ba\u3092\u78ba\u8a8d\n$ find \/var\/lib\/docker -type f | xargs du -sh 2&gt;\/dev\/null | tail -1\n\n# Python\u30ad\u30e3\u30c3\u30b7\u30e5\u30d5\u30a1\u30a4\u30eb\u306e\u5408\u8a08\n$ find \/home -name \"__pycache__\" -type d | xargs du -sh | sort -rh<\/pre>\n<\/div>\n\n\n\n<div class=\"balloon-wrap is-right\">\n  <div class=\"balloon-icon\">\n    <img decoding=\"async\" src=\"https:\/\/genai-ai.co.jp\/ai-kanri\/wp-content\/uploads\/2026\/04\/yamazaki-avatar.png\" alt=\"AI\u9b3c\u7ba1\u7406\u5c71\u5d0e\">\n    <span class=\"balloon-name\">AI\u9b3c\u7ba1\u7406\u5c71\u5d0e<\/span>\n  <\/div>\n  <div class=\"balloon-body\">AI\u3084\u6a5f\u68b0\u5b66\u7fd2\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3067\u306f\u3001\u5b66\u7fd2\u6e08\u307f\u30e2\u30c7\u30eb\u306e\u30c1\u30a7\u30c3\u30af\u30dd\u30a4\u30f3\u30c8\u30d5\u30a1\u30a4\u30eb\uff08.pth, .pkl, .h5 \u306a\u3069\uff09\u304c\u6570GB\u306b\u306a\u308b\u3053\u3068\u304c\u3088\u304f\u3042\u308a\u307e\u3059\u3002find \u3067\u62e1\u5f35\u5b50\u3092\u7d5e\u308a\u8fbc\u3093\u3067\u5408\u8a08\u30b5\u30a4\u30ba\u3092\u78ba\u8a8d\u3059\u308b\u7fd2\u6163\u3092\u3064\u3051\u3066\u304a\u304f\u3068\u3001\u30c7\u30a3\u30b9\u30af\u7ba1\u7406\u304c\u305a\u3063\u3068\u697d\u306b\u306a\u308a\u307e\u3059\u3002<\/div>\n<\/div>\n\n\n<div style=\"margin:48px 0 8px;display:flex;gap:12px;justify-content:center;flex-wrap:wrap;\"><a href=\"https:\/\/aikanri.genai-ai.co.jp\/seminar2-blog\/?utm_source=blog&#038;utm_medium=h2banner&#038;utm_content=cc-linux-du&#038;blog_slug=cc-linux-du\" target=\"_blank\" rel=\"noopener\" aria-label=\"Claude Code \u5b8c\u5168\u89e3\u8aac\u30bb\u30df\u30ca\u30fc\uff08\u7121\u6599\u30fb1on1\u30fb60\u5206\uff09\u306e\u4e88\u7d04\u753b\u9762\u3078\" style=\"flex:1 1 280px;max-width:360px;text-decoration:none;\"><img decoding=\"async\" src=\"https:\/\/genai-ai.co.jp\/ai-kanri\/wp-content\/uploads\/2026\/05\/cta_seminar_claude_code_2026.jpg\" alt=\"Claude Code \u5b8c\u5168\u89e3\u8aac\u30bb\u30df\u30ca\u30fc\uff5c\u7d4c\u55b6\u8005\u30fb\u4f1a\u793e\u5f79\u54e1\u5c02\u7528 1on1 60\u5206 \u7121\u6599\" style=\"width:100%;height:auto;border-radius:8px;display:block;\"><\/a><a href=\"https:\/\/aikanri.genai-ai.co.jp\/?utm_source=blog&#038;utm_medium=h2banner&#038;utm_campaign=cc-linux-du&#038;utm_content=h2-banner-kanri\" target=\"_blank\" rel=\"noopener\" aria-label=\"AI\u9b3c\u7ba1\u7406 \u516c\u5f0f\u30b5\u30a4\u30c8\u3078\" style=\"flex:1 1 280px;max-width:360px;text-decoration:none;\"><img decoding=\"async\" src=\"https:\/\/genai-ai.co.jp\/ai-kanri\/wp-content\/uploads\/2026\/05\/cta_blog_1to1.jpg\" alt=\"Claude Code\u3092\u7d4c\u55b6\u306b\u6d3b\u304b\u3057\u305f\u3044\u65b9\u3078 \u2014 AI\u9b3c\u7ba1\u7406\" style=\"width:100%;height:auto;border-radius:8px;display:block;\"><\/a><\/div>\n\n\n<div id=\"sec-06\"><\/div>\n<h2 class=\"section-header-img\" style=\"margin:32px 0 24px;border-radius:8px;overflow:hidden;background:linear-gradient(135deg,#1a1a1a 0%,#2a1015 100%);padding:32px 28px;color:#fff;position:relative;border:none;border-left:none;text-align:left;\">\n  <span class=\"section-number\" style=\"display:block;\">06<\/span>\n  <span class=\"section-label\" style=\"display:block;\">MAC VS LINUX<\/span>\n  <span class=\"section-title\" style=\"display:block;\">Mac\uff08BSD\u7248du\uff09\u3068Linux\uff08GNU\u7248du\uff09\u306e\u9055\u3044<\/span>\n  <span class=\"section-desc\">\u540c\u3058\u30b3\u30de\u30f3\u30c9\u306a\u306e\u306b\u6319\u52d5\u304c\u9055\u3046\uff1fmacOS\u3067\u4f7f\u3046\u969b\u306e\u6ce8\u610f\u70b9\u3092\u6574\u7406<\/span>\n<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u300cLinux\u3067\u4f7f\u3048\u305f\u30b3\u30de\u30f3\u30c9\u304c Mac\u3067\u52d5\u304b\u306a\u3044\u300d\u2014\u2014\u3053\u308c\u306fBSD\u7cfb\u306e\u30b3\u30de\u30f3\u30c9\u3092\u63a1\u7528\u3057\u3066\u3044\u308bmacOS\u3068GNU\u7cfb\u306eLinux\u3068\u306e\u4ed5\u69d8\u306e\u9055\u3044\u306b\u3088\u3063\u3066\u8d77\u3053\u308b\u3001\u3088\u304f\u3042\u308b\u554f\u984c\u3067\u3059\u3002du\u30b3\u30de\u30f3\u30c9\u3082\u4f8b\u5916\u3067\u306f\u306a\u304f\u3001\u4e00\u90e8\u306e\u30aa\u30d7\u30b7\u30e7\u30f3\u3067Linux\u3068macOS\u3067\u6319\u52d5\u304c\u7570\u306a\u308a\u307e\u3059\u3002\u4e21\u65b9\u306e\u74b0\u5883\u3092\u4f7f\u3046\u65b9\u306f\u4ee5\u4e0b\u3092\u628a\u63e1\u3057\u3066\u304a\u3044\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n\n\n\n<table>\n<thead><tr><th>\u6a5f\u80fd<\/th><th>GNU du (Linux)<\/th><th>BSD du (macOS)<\/th><th>\u5bfe\u51e6\u6cd5<\/th><\/tr><\/thead>\n<tbody>\n<tr><td>\u968e\u5c64\u306e\u6df1\u3055\u5236\u9650<\/td><td>--max-depth=N<\/td><td>-d N<\/td><td>macOS\u3067\u306f -d \u3092\u4f7f\u3046<\/td><\/tr>\n<tr><td>-h \u30aa\u30d7\u30b7\u30e7\u30f3<\/td><td>\u307b\u307c\u540c\u3058\u6319\u52d5<\/td><td>\u307b\u307c\u540c\u3058\u6319\u52d5<\/td><td>\u4e92\u63db\u3042\u308a<\/td><\/tr>\n<tr><td>-b \u30aa\u30d7\u30b7\u30e7\u30f3<\/td><td>\u30d0\u30a4\u30c8\u5358\u4f4d\u8868\u793a<\/td><td>\u975e\u5bfe\u5fdc\uff08\u30a8\u30e9\u30fc\u306b\u306a\u308b\uff09<\/td><td>macOS\u3067\u306f --apparent-size \u76f8\u5f53\u306a\u3057<\/td><\/tr>\n<tr><td>--apparent-size<\/td><td>\u898b\u304b\u3051\u306e\u30b5\u30a4\u30ba\u8868\u793a<\/td><td>\u975e\u5bfe\u5fdc<\/td><td>macOS\u3067\u306f\u4ee3\u66ff\u306a\u3057<\/td><\/tr>\n<tr><td>--exclude=PATTERN<\/td><td>\u5bfe\u5fdc<\/td><td>\u5bfe\u5fdc\uff08\u540c\u3058\u8a18\u6cd5\uff09<\/td><td>\u4e92\u63db\u3042\u308a<\/td><\/tr>\n<tr><td>-x (one-file-system)<\/td><td>\u5bfe\u5fdc<\/td><td>\u5bfe\u5fdc<\/td><td>\u4e92\u63db\u3042\u308a<\/td><\/tr>\n<tr><td>\u30d6\u30ed\u30c3\u30af\u30b5\u30a4\u30ba\u306e\u30c7\u30d5\u30a9\u30eb\u30c8<\/td><td>1KB<\/td><td>512\u30d0\u30a4\u30c8<\/td><td>-k \u30aa\u30d7\u30b7\u30e7\u30f3\u3067\u5408\u308f\u305b\u308b<\/td><\/tr>\n<\/tbody>\n<\/table>\n\n\n\n<h3 class=\"wp-block-heading\">6-1. --max-depth \u3068 -d \u306e\u9055\u3044<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\u6700\u3082\u983b\u7e41\u306b\u30cf\u30de\u308b\u306e\u304c\u3001\u968e\u5c64\u306e\u6df1\u3055\u3092\u6307\u5b9a\u3059\u308b\u30aa\u30d7\u30b7\u30e7\u30f3\u3067\u3059\u3002Linux\u306eGNU du\u3067\u306f <code>--max-depth=1<\/code> \u3068\u66f8\u304d\u307e\u3059\u304c\u3001macOS\u306eBSD du\u3067\u306f <code>-d 1<\/code> \u3068\u66f8\u304d\u307e\u3059\u3002\u3053\u308c\u3092\u77e5\u3089\u306a\u3044\u3068\u3001Mac\u3067 <code>du --max-depth=1<\/code> \u3092\u5b9f\u884c\u3057\u305f\u3068\u304d\u306b\u300cillegal option\u300d\u30a8\u30e9\u30fc\u304c\u51fa\u3066\u6df7\u4e71\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<div style=\"background:#1e1e1e;border-radius:8px;padding:20px 24px;margin:20px 0;overflow-x:auto;\">\n  <pre style=\"margin:0;color:#d4d4d4;font-size:14px;line-height:1.6;font-family:'Courier New',monospace;\"># Linux\uff08GNU du\uff09\u3067\u306e\u66f8\u304d\u65b9\n$ du -h --max-depth=1 \/var\n\n# macOS\uff08BSD du\uff09\u3067\u306e\u66f8\u304d\u65b9\n$ du -hd 1 \/var\n# \u307e\u305f\u306f\n$ du -h -d 1 \/var\n\n# \u4e21\u65b9\u3067\u52d5\u304f\u3088\u3046\u306b\u30a8\u30a4\u30ea\u30a2\u30b9\u3092\u8a2d\u5b9a\u3059\u308b\u65b9\u6cd5\uff08~\/.bashrc \u3084 ~\/.zshrc \u306b\u8ffd\u52a0\uff09\n# Linux\u306a\u3089\u554f\u984c\u306a\u3057\u3001macOS\u3067\u3082GNU coreutils\u3092Homebrew\u3067\u5165\u308c\u308c\u3070\u89e3\u6c7a\nalias du=\"gdu\"   # macOS\u3067homebrew install coreutils \u5f8c\u306b\u6709\u52b9<\/pre>\n<\/div>\n\n\n\n<div style=\"background:#f0fdf4;border:1px solid #22c55e;border-radius:8px;padding:20px 24px;margin:24px 0;\">\n  <div style=\"display:flex;align-items:center;gap:8px;margin-bottom:12px;\">\n    <span style=\"font-size:18px;\">&#128161;<\/span>\n    <strong style=\"color:#16a34a;font-size:15px;\">macOS\u3067GNU coreutils\u3092\u4f7f\u3046\u65b9\u6cd5<\/strong>\n  <\/div>\n  <p style=\"margin:0;font-size:15px;line-height:1.8;color:#333;\">Homebrew\u3067\u300cbrew install coreutils\u300d\u3092\u5b9f\u884c\u3059\u308b\u3068\u3001GNU\u7248\u306edu\u304c\u300cgdu\u300d\u3068\u3044\u3046\u30b3\u30de\u30f3\u30c9\u3067\u4f7f\u3048\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002~\/.zshrc \u306b\u300calias du=gdu\u300d\u3092\u8ffd\u52a0\u3057\u3066\u304a\u304f\u3068\u3001Linux\u3068macOS\u3067\u540c\u3058\u30b3\u30de\u30f3\u30c9\u304c\u4f7f\u3048\u3066\u4fbf\u5229\u3067\u3059\u3002\u958b\u767a\u3084\u30b5\u30fc\u30d0\u30fc\u7ba1\u7406\u3067\u4e21\u65b9\u306e\u74b0\u5883\u3092\u4f7f\u3046\u65b9\u306b\u63a8\u5968\u3057\u307e\u3059\u3002<\/p>\n<\/div>\n\n\n\n<h3 class=\"wp-block-heading\">6-2. \u30c7\u30d5\u30a9\u30eb\u30c8\u30d6\u30ed\u30c3\u30af\u30b5\u30a4\u30ba\u306e\u9055\u3044<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\u3082\u3046\u4e00\u3064\u306e\u9055\u3044\u306f\u30c7\u30d5\u30a9\u30eb\u30c8\u306e\u30d6\u30ed\u30c3\u30af\u30b5\u30a4\u30ba\u3067\u3059\u3002Linux\u306eGNU du\u306f\u30c7\u30d5\u30a9\u30eb\u30c8\u30671KB\u30d6\u30ed\u30c3\u30af\u3067\u8868\u793a\u3057\u307e\u3059\u304c\u3001macOS\u306eBSD du\u306f512\u30d0\u30a4\u30c8\u30d6\u30ed\u30c3\u30af\u304c\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u3059\u3002\u305d\u306e\u305f\u3081\u3001\u30aa\u30d7\u30b7\u30e7\u30f3\u306a\u3057\u3067do\u3092\u5b9f\u884c\u3057\u305f\u3068\u304d\u3001\u540c\u3058\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3067\u3082macOS\u306e\u6570\u5b57\u304cLinux\u306e\u7d042\u500d\u306b\u306a\u308a\u307e\u3059\u3002\u3069\u3061\u3089\u3082 <code>-k<\/code> \u30aa\u30d7\u30b7\u30e7\u30f3\uff081KB\u5358\u4f4d\uff09\u3084 <code>-h<\/code> \u30aa\u30d7\u30b7\u30e7\u30f3\uff08\u4eba\u9593\u304c\u8aad\u3081\u308b\u5f62\u5f0f\uff09\u3092\u4ed8\u3051\u308c\u3070\u7d71\u4e00\u3055\u308c\u308b\u306e\u3067\u3001\u5b9f\u7528\u4e0a\u306f -h \u3092\u5e38\u306b\u4ed8\u3051\u308b\u3053\u3068\u3067\u89e3\u6c7a\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<div style=\"background:#fef2f2;border:2px solid #dc2626;border-radius:8px;padding:20px 24px;margin:24px 0;\">\n  <div style=\"display:flex;align-items:center;gap:8px;margin-bottom:12px;\">\n    <span style=\"font-size:20px;\">&#9888;&#65039;<\/span>\n    <strong style=\"color:#dc2626;font-size:16px;\">\u30b9\u30af\u30ea\u30d7\u30c8\u306e\u79fb\u690d\u306b\u6ce8\u610f<\/strong>\n  <\/div>\n  <p style=\"margin:0;font-size:15px;line-height:1.8;color:#333;\">\u30b7\u30a7\u30eb\u30b9\u30af\u30ea\u30d7\u30c8\u3067du\u306e\u51fa\u529b\u3092\u6570\u5024\u3068\u3057\u3066\u51e6\u7406\u3059\u308b\u5834\u5408\u3001Linux\u3067\u52d5\u3044\u3066\u3044\u305f\u30b9\u30af\u30ea\u30d7\u30c8\u304cmacOS\u3067\u306f2\u500d\u306e\u6570\u5b57\u304c\u51fa\u3066\u8aa4\u52d5\u4f5c\u3059\u308b\u3053\u3068\u304c\u3042\u308a\u307e\u3059\u3002\u30b9\u30af\u30ea\u30d7\u30c8\u306e\u4e2d\u3067du\u3092\u4f7f\u3046\u969b\u306f\u3001\u5fc5\u305a -k\uff081KB\u30d6\u30ed\u30c3\u30af\u7d71\u4e00\uff09\u307e\u305f\u306f --block-size=1\uff08\u30d0\u30a4\u30c8\u7d71\u4e00\uff09\u3092\u660e\u793a\u7684\u306b\u6307\u5b9a\u3057\u3066\u3001\u74b0\u5883\u4f9d\u5b58\u3092\u6392\u9664\u3059\u308b\u3053\u3068\u3092\u304a\u3059\u3059\u3081\u3057\u307e\u3059\u3002<\/p>\n<\/div>\n\n\n<div style=\"margin:48px 0 8px;display:flex;gap:12px;justify-content:center;flex-wrap:wrap;\"><a href=\"https:\/\/aikanri.genai-ai.co.jp\/seminar2-blog\/?utm_source=blog&#038;utm_medium=h2banner&#038;utm_content=cc-linux-du&#038;blog_slug=cc-linux-du\" target=\"_blank\" rel=\"noopener\" aria-label=\"Claude Code \u5b8c\u5168\u89e3\u8aac\u30bb\u30df\u30ca\u30fc\uff08\u7121\u6599\u30fb1on1\u30fb60\u5206\uff09\u306e\u4e88\u7d04\u753b\u9762\u3078\" style=\"flex:1 1 280px;max-width:360px;text-decoration:none;\"><img decoding=\"async\" src=\"https:\/\/genai-ai.co.jp\/ai-kanri\/wp-content\/uploads\/2026\/05\/cta_seminar_claude_code_2026.jpg\" alt=\"Claude Code \u5b8c\u5168\u89e3\u8aac\u30bb\u30df\u30ca\u30fc\uff5c\u7d4c\u55b6\u8005\u30fb\u4f1a\u793e\u5f79\u54e1\u5c02\u7528 1on1 60\u5206 \u7121\u6599\" style=\"width:100%;height:auto;border-radius:8px;display:block;\"><\/a><a href=\"https:\/\/aikanri.genai-ai.co.jp\/?utm_source=blog&#038;utm_medium=h2banner&#038;utm_campaign=cc-linux-du&#038;utm_content=h2-banner-kanri\" target=\"_blank\" rel=\"noopener\" aria-label=\"AI\u9b3c\u7ba1\u7406 \u516c\u5f0f\u30b5\u30a4\u30c8\u3078\" style=\"flex:1 1 280px;max-width:360px;text-decoration:none;\"><img decoding=\"async\" src=\"https:\/\/genai-ai.co.jp\/ai-kanri\/wp-content\/uploads\/2026\/05\/cta_blog_1to1.jpg\" alt=\"Claude Code\u3092\u7d4c\u55b6\u306b\u6d3b\u304b\u3057\u305f\u3044\u65b9\u3078 \u2014 AI\u9b3c\u7ba1\u7406\" style=\"width:100%;height:auto;border-radius:8px;display:block;\"><\/a><\/div>\n\n\n<div id=\"sec-07\"><\/div>\n<h2 class=\"section-header-img\" style=\"margin:32px 0 24px;border-radius:8px;overflow:hidden;background:linear-gradient(135deg,#1a1a1a 0%,#2a1015 100%);padding:32px 28px;color:#fff;position:relative;border:none;border-left:none;text-align:left;\">\n  <span class=\"section-number\" style=\"display:block;\">07<\/span>\n  <span class=\"section-label\" style=\"display:block;\">TROUBLESHOOTING<\/span>\n  <span class=\"section-title\" style=\"display:block;\">\u300cPermission denied\u300d\u30a8\u30e9\u30fc\u306e\u5bfe\u51e6\u6cd5<\/span>\n  <span class=\"section-desc\">du\u3067\u3088\u304f\u906d\u9047\u3059\u308b\u30a8\u30e9\u30fc\u306e\u539f\u56e0\u3068\u3001\u6b63\u3057\u3044\u89e3\u6c7a\u65b9\u6cd5<\/span>\n<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">du\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u305f\u3068\u304d\u3001\u6700\u3082\u3088\u304f\u906d\u9047\u3059\u308b\u30a8\u30e9\u30fc\u304c <strong>\u300cdu: cannot read directory 'XXXX': Permission denied\u300d<\/strong> \u3068\u3044\u3046\u30e1\u30c3\u30bb\u30fc\u30b8\u3067\u3059\u3002\u3053\u308c\u306f\u3001\u53c2\u7167\u3057\u3088\u3046\u3068\u3057\u305f\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306b\u5bfe\u3057\u3066\u8aad\u307f\u53d6\u308a\u6a29\u9650\u304c\u306a\u3044\u305f\u3081\u306b\u767a\u751f\u3057\u307e\u3059\u3002\u7279\u306b\u30b7\u30b9\u30c6\u30e0\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\uff08\/etc, \/root, \/proc \u306a\u3069\uff09\u3084\u3001\u4ed6\u306e\u30e6\u30fc\u30b6\u30fc\u306e\u30db\u30fc\u30e0\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3092\u8abf\u3079\u3088\u3046\u3068\u3057\u305f\u5834\u5408\u306b\u51fa\u3066\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">7-1. sudo\u3092\u4f7f\u3063\u3066\u89e3\u6c7a\u3059\u308b<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\u6700\u3082\u30b7\u30f3\u30d7\u30eb\u306a\u89e3\u6c7a\u65b9\u6cd5\u306f\u3001\u30b3\u30de\u30f3\u30c9\u306e\u5148\u982d\u306b <code>sudo<\/code> \u3092\u4ed8\u3051\u3066\u7ba1\u7406\u8005\u6a29\u9650\u3067\u5b9f\u884c\u3059\u308b\u3053\u3068\u3067\u3059\u3002sudo\u3092\u4f7f\u3046\u3068\u3001\u305d\u306e\u30b3\u30de\u30f3\u30c9\u306e\u5b9f\u884c\u6a29\u9650\u304croot\uff08\u30b9\u30fc\u30d1\u30fc\u30e6\u30fc\u30b6\u30fc\uff09\u306b\u6607\u683c\u3057\u3001\u901a\u5e38\u30a2\u30af\u30bb\u30b9\u3067\u304d\u306a\u3044\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3082\u53c2\u7167\u3067\u304d\u307e\u3059\u3002\u305f\u3060\u3057\u3001sudo\u3092\u4f7f\u3048\u308b\uff08sudoers\u306b\u767b\u9332\u3055\u308c\u3066\u3044\u308b\uff09\u30e6\u30fc\u30b6\u30fc\u3067\u3042\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<div style=\"background:#1e1e1e;border-radius:8px;padding:20px 24px;margin:20px 0;overflow-x:auto;\">\n  <pre style=\"margin:0;color:#d4d4d4;font-size:14px;line-height:1.6;font-family:'Courier New',monospace;\"># sudo \u306a\u3057\uff08\u4e00\u90e8\u306e\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3067\u30a2\u30af\u30bb\u30b9\u5236\u9650\u30a8\u30e9\u30fc\u304c\u51fa\u308b\uff09\n$ du -sh \/var\/log\ndu: cannot read directory '\/var\/log\/secure': Permission denied\ndu: cannot read directory '\/var\/log\/audit': Permission denied\n1.8G    \/var\/log\n\n# sudo \u4ed8\u304d\uff08\u3059\u3079\u3066\u306e\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3092\u53c2\u7167\u3067\u304d\u308b\uff09\n$ sudo du -sh \/var\/log\n2.3G    \/var\/log\n\n# \u30b7\u30b9\u30c6\u30e0\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3092\u8abf\u3079\u308b\u5834\u5408\uff08\u7ba1\u7406\u8005\u6a29\u9650\u3067\u5b9f\u884c\uff09\n$ sudo du -h --max-depth=1 \/var | sort -rh | head -20<\/pre>\n<\/div>\n\n\n\n<h3 class=\"wp-block-heading\">7-2. \u30a8\u30e9\u30fc\u3092\u7121\u8996\u3057\u3066\u51fa\u529b\u3059\u308b\uff082>\/dev\/null\uff09<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\u300cPermission denied\u306e\u30a8\u30e9\u30fc\u30e1\u30c3\u30bb\u30fc\u30b8\u306f\u898b\u305f\u304f\u306a\u3044\u304c\u3001\u30a2\u30af\u30bb\u30b9\u3067\u304d\u308b\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306e\u30b5\u30a4\u30ba\u306f\u77e5\u308a\u305f\u3044\u300d\u3068\u3044\u3046\u5834\u5408\u306f\u3001\u30a8\u30e9\u30fc\u51fa\u529b\uff08stderr\uff09\u3092 \/dev\/null \u306b\u30ea\u30c0\u30a4\u30ec\u30af\u30c8\u3057\u3066\u30a8\u30e9\u30fc\u3092\u6368\u3066\u308b\u30c6\u30af\u30cb\u30c3\u30af\u304c\u4f7f\u3048\u307e\u3059\u3002<code>2>\/dev\/null<\/code> \u3092\u672b\u5c3e\u306b\u4ed8\u3051\u308b\u3053\u3068\u3067\u3001\u30a8\u30e9\u30fc\u30e1\u30c3\u30bb\u30fc\u30b8\u3060\u3051\u3092\u6d88\u3057\u3064\u3064\u3001\u6b63\u5e38\u306a\u51fa\u529b\u306f\u753b\u9762\u306b\u8868\u793a\u3055\u308c\u307e\u3059\u3002<\/p>\n\n\n\n<div style=\"background:#1e1e1e;border-radius:8px;padding:20px 24px;margin:20px 0;overflow-x:auto;\">\n  <pre style=\"margin:0;color:#d4d4d4;font-size:14px;line-height:1.6;font-family:'Courier New',monospace;\"># \u30a8\u30e9\u30fc\u30e1\u30c3\u30bb\u30fc\u30b8\u3092\u975e\u8868\u793a\u306b\u3059\u308b\n$ du -sh \/var\/log 2&gt;\/dev\/null\n2.3G    \/var\/log\n\n# \u30a8\u30e9\u30fc\u3092\u7121\u8996\u3057\u306a\u304c\u3089\u3082\u5927\u304d\u3044\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3092\u63a2\u3059\n$ du -h --max-depth=1 \/ 2&gt;\/dev\/null | sort -rh | head -20\n\n# find\u3068\u306e\u7d44\u307f\u5408\u308f\u305b\u3067\u3082\u30a8\u30e9\u30fc\u3092\u6291\u5236\n$ find \/var \/home -type f -size +1G 2&gt;\/dev\/null | xargs du -sh 2&gt;\/dev\/null<\/pre>\n<\/div>\n\n\n\n<div style=\"background:#f8f9fa;border-left:4px solid #6b7280;border-radius:0 8px 8px 0;padding:16px 20px;margin:20px 0;\">\n  <p style=\"margin:0 0 4px;font-size:13px;font-weight:700;color:#6b7280;letter-spacing:1px;\">&#128218; \u7528\u8a9e\u89e3\u8aac<\/p>\n  <p style=\"margin:0;font-size:15px;line-height:1.7;\"><strong>stderr\uff08\u6a19\u6e96\u30a8\u30e9\u30fc\u51fa\u529b\uff09<\/strong>\uff1aLinux\u30b3\u30de\u30f3\u30c9\u306b\u306f\u300c\u6a19\u6e96\u51fa\u529b\uff08stdout\uff09\u300d\u3068\u300c\u6a19\u6e96\u30a8\u30e9\u30fc\u51fa\u529b\uff08stderr\uff09\u300d\u306e2\u3064\u306e\u51fa\u529b\u5148\u304c\u3042\u308a\u307e\u3059\u3002\u901a\u5e38\u306e\u30e1\u30c3\u30bb\u30fc\u30b8\u306fstdout\u306b\u3001\u30a8\u30e9\u30fc\u30e1\u30c3\u30bb\u30fc\u30b8\u306fstderr\u306b\u51fa\u307e\u3059\u3002\u300c2>\/dev\/null\u300d\u306fstderr\uff08\u30d5\u30a1\u30a4\u30eb\u30c7\u30a3\u30b9\u30af\u30ea\u30d7\u30bf\u756a\u53f72\uff09\u3092\/dev\/null\uff08\u30c7\u30fc\u30bf\u3092\u6368\u3066\u308b\u4eee\u60f3\u30d5\u30a1\u30a4\u30eb\uff09\u306b\u5411\u3051\u308b\u30ea\u30c0\u30a4\u30ec\u30af\u30c8\u547d\u4ee4\u3067\u3059\u3002<\/p>\n<\/div>\n\n\n\n<h3 class=\"wp-block-heading\">7-3. \u305d\u306e\u4ed6\u306e\u3088\u304f\u3042\u308b\u30a8\u30e9\u30fc\u3068\u5bfe\u51e6\u6cd5<\/h3>\n\n\n\n<table>\n<thead><tr><th>\u30a8\u30e9\u30fc\u30e1\u30c3\u30bb\u30fc\u30b8<\/th><th>\u539f\u56e0<\/th><th>\u5bfe\u51e6\u6cd5<\/th><\/tr><\/thead>\n<tbody>\n<tr><td>du: cannot read directory: Permission denied<\/td><td>\u8aad\u307f\u53d6\u308a\u6a29\u9650\u304c\u306a\u3044<\/td><td>sudo \u3092\u4ed8\u3051\u308b\u3001\u307e\u305f\u306f 2>\/dev\/null \u3067\u30a8\u30e9\u30fc\u3092\u6291\u5236<\/td><\/tr>\n<tr><td>du: command not found<\/td><td>du\u30b3\u30de\u30f3\u30c9\u304c\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u3066\u3044\u306a\u3044<\/td><td>apt install coreutils\uff08Debian\/Ubuntu\uff09\u307e\u305f\u306f yum install coreutils\uff08CentOS\uff09<\/td><\/tr>\n<tr><td>du: illegal option -- -<\/td><td>macOS\u3067Linux\u7528\u30aa\u30d7\u30b7\u30e7\u30f3\u3092\u4f7f\u3063\u305f<\/td><td>-d N \u306b\u5909\u66f4\u3001\u307e\u305f\u306fGNU coreutils\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/td><\/tr>\n<tr><td>xargs: argument list too long<\/td><td>find\u306e\u7d50\u679c\u304c\u591a\u3059\u304e\u3066xargs\u306b\u6e21\u305b\u306a\u3044<\/td><td>xargs -0 \u3068 find -print0 \u3092\u7d44\u307f\u5408\u308f\u305b\u308b<\/td><\/tr>\n<tr><td>\u51fa\u529b\u304c\u6b62\u307e\u3089\u306a\u3044<\/td><td>\u81a8\u5927\u306a\u6570\u306e\u30d5\u30a1\u30a4\u30eb\u3092\u51e6\u7406\u4e2d<\/td><td>Ctrl+C \u3067\u4e2d\u65ad\u3057 --max-depth \u3067\u7d5e\u308a\u8fbc\u3080<\/td><\/tr>\n<\/tbody>\n<\/table>\n\n\n\n<div class=\"balloon-wrap\">\n  <div class=\"balloon-icon\">\n    <img decoding=\"async\" src=\"https:\/\/genai-ai.co.jp\/ai-kanri\/wp-content\/uploads\/2026\/04\/ceo-sugasawa.jpg\" alt=\"\u4ee3\u8868\u83c5\u6fa4\">\n    <span class=\"balloon-name\">\u4ee3\u8868\u83c5\u6fa4<\/span>\n  <\/div>\n  <div class=\"balloon-body\">\u300cPermission denied\u300d\u3092\u898b\u308b\u3068\u7126\u308a\u307e\u3059\u304c\u3001\u614c\u3066\u305a\u5bfe\u51e6\u6cd5\u3092\u77e5\u3063\u3066\u3044\u308c\u3070\u5927\u4e08\u592b\u3067\u3059\u3002\u5f0a\u793e\u3067\u306f\u57fa\u672c\u7684\u306b sudo du \u3092\u591a\u7528\u3057\u3066\u3044\u307e\u3059\u3002\u30b5\u30fc\u30d0\u30fc\u7ba1\u7406\u8005\u306a\u3089 sudo \u3092\u4f7f\u3048\u308b\u74b0\u5883\u306f\u5f53\u7136\u306a\u306e\u3067\u3001\u6700\u521d\u304b\u3089 sudo \u3092\u4ed8\u3051\u3066\u5b9f\u884c\u3059\u308b\u7656\u3092\u3064\u3051\u3066\u304a\u304f\u3068\u4fbf\u5229\u3067\u3059\u3002<\/div>\n<\/div>\n\n\n<div style=\"margin:48px 0 8px;display:flex;gap:12px;justify-content:center;flex-wrap:wrap;\"><a href=\"https:\/\/aikanri.genai-ai.co.jp\/seminar2-blog\/?utm_source=blog&#038;utm_medium=h2banner&#038;utm_content=cc-linux-du&#038;blog_slug=cc-linux-du\" target=\"_blank\" rel=\"noopener\" aria-label=\"Claude Code \u5b8c\u5168\u89e3\u8aac\u30bb\u30df\u30ca\u30fc\uff08\u7121\u6599\u30fb1on1\u30fb60\u5206\uff09\u306e\u4e88\u7d04\u753b\u9762\u3078\" style=\"flex:1 1 280px;max-width:360px;text-decoration:none;\"><img decoding=\"async\" src=\"https:\/\/genai-ai.co.jp\/ai-kanri\/wp-content\/uploads\/2026\/05\/cta_seminar_claude_code_2026.jpg\" alt=\"Claude Code \u5b8c\u5168\u89e3\u8aac\u30bb\u30df\u30ca\u30fc\uff5c\u7d4c\u55b6\u8005\u30fb\u4f1a\u793e\u5f79\u54e1\u5c02\u7528 1on1 60\u5206 \u7121\u6599\" style=\"width:100%;height:auto;border-radius:8px;display:block;\"><\/a><a href=\"https:\/\/aikanri.genai-ai.co.jp\/?utm_source=blog&#038;utm_medium=h2banner&#038;utm_campaign=cc-linux-du&#038;utm_content=h2-banner-kanri\" target=\"_blank\" rel=\"noopener\" aria-label=\"AI\u9b3c\u7ba1\u7406 \u516c\u5f0f\u30b5\u30a4\u30c8\u3078\" style=\"flex:1 1 280px;max-width:360px;text-decoration:none;\"><img decoding=\"async\" src=\"https:\/\/genai-ai.co.jp\/ai-kanri\/wp-content\/uploads\/2026\/05\/cta_blog_1to1.jpg\" alt=\"Claude Code\u3092\u7d4c\u55b6\u306b\u6d3b\u304b\u3057\u305f\u3044\u65b9\u3078 \u2014 AI\u9b3c\u7ba1\u7406\" style=\"width:100%;height:auto;border-radius:8px;display:block;\"><\/a><\/div>\n\n\n<div id=\"sec-08\"><\/div>\n<h2 class=\"section-header-img\" style=\"margin:32px 0 24px;border-radius:8px;overflow:hidden;background:linear-gradient(135deg,#1a1a1a 0%,#2a1015 100%);padding:32px 28px;color:#fff;position:relative;border:none;border-left:none;text-align:left;\">\n  <span class=\"section-number\" style=\"display:block;\">08<\/span>\n  <span class=\"section-label\" style=\"display:block;\">PRACTICAL SCENARIOS<\/span>\n  <span class=\"section-title\" style=\"display:block;\">\u696d\u52d9\u3067\u306e\u5b9f\u8df5\u30b7\u30ca\u30ea\u30aa\u2015\u2015\u30b5\u30fc\u30d0\u30fc\u7ba1\u7406\u30fbAI\u30d7\u30ed\u30b8\u30a7\u30af\u30c8<\/span>\n  <span class=\"section-desc\">\u3088\u304f\u3042\u308b\u73fe\u5834\u306e\u554f\u984c\u3068\u3001du\u30b3\u30de\u30f3\u30c9\u3092\u4f7f\u3063\u305f\u89e3\u6c7a\u30d5\u30ed\u30fc\u3092\u5b9f\u4f8b\u3067\u89e3\u8aac<\/span>\n<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u3053\u3053\u304b\u3089\u306f\u3001\u5b9f\u969b\u306e\u696d\u52d9\u3067\u906d\u9047\u3059\u308b\u5178\u578b\u7684\u306a\u30b7\u30ca\u30ea\u30aa\u3068\u3001du\u30b3\u30de\u30f3\u30c9\u3092\u4f7f\u3063\u305f\u89e3\u6c7a\u30d5\u30ed\u30fc\u3092\u7d39\u4ecb\u3057\u307e\u3059\u3002\u300c\u30b3\u30de\u30f3\u30c9\u3092\u77e5\u3063\u3066\u3044\u308b\u300d\u3060\u3051\u3067\u306a\u304f\u3001\u300c\u554f\u984c\u304c\u8d77\u304d\u305f\u3068\u304d\u306b\u8ff7\u308f\u305a\u4f7f\u3048\u308b\u300d\u72b6\u614b\u3092\u76ee\u6307\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">8-1. \u30b7\u30ca\u30ea\u30aa1: Web\u30b5\u30fc\u30d0\u30fc\u306e\u30c7\u30a3\u30b9\u30af\u30a2\u30e9\u30fc\u30c8\u5bfe\u5fdc<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\u300c\u30c7\u30a3\u30b9\u30af\u4f7f\u7528\u7387\u304c90%\u3092\u8d85\u3048\u305f\u300d\u3068\u3044\u3046\u30a2\u30e9\u30fc\u30c8\u304c\u5c4a\u3044\u305f\u5834\u5408\u306e\u8abf\u67fb\u30d5\u30ed\u30fc\u3067\u3059\u3002\u5f0a\u793e\u3067\u3082\u5b9f\u969b\u306b\u3042\u3063\u305f\u30b1\u30fc\u30b9\u3067\u3001\u539f\u56e0\u306fNginx\u306e\u30a2\u30af\u30bb\u30b9\u30ed\u30b0\u304c1.8GB\u307e\u3067\u80a5\u5927\u5316\u3057\u3066\u3044\u305f\u3053\u3068\u3067\u3057\u305f\u3002\u4ee5\u4e0b\u306e\u624b\u9806\u3067\u308f\u305a\u304b5\u5206\u4ee5\u5185\u306b\u539f\u56e0\u3092\u7279\u5b9a\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<div class=\"g-flow-row\" style=\"margin:24px 0;\">\n  <div class=\"g-flow-item\"><strong>Step 1<\/strong><br><span style=\"font-size:12px;\">df -h \u3067<br>\u3069\u306e\u30d1\u30fc\u30c6\u30a3\u30b7\u30e7\u30f3\u304c<br>\u903c\u8feb\u3057\u3066\u3044\u308b\u304b\u78ba\u8a8d<\/span><\/div>\n  <div class=\"g-flow-arrow\">&#8594;<\/div>\n  <div class=\"g-flow-item\"><strong>Step 2<\/strong><br><span style=\"font-size:12px;\">sudo du -h --max-depth=1 \/ \u3067<br>\u30c8\u30c3\u30d7\u30ec\u30d9\u30eb\u306e<br>\u5927\u304d\u3044\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3092\u7279\u5b9a<\/span><\/div>\n  <div class=\"g-flow-arrow\">&#8594;<\/div>\n  <div class=\"g-flow-item\"><strong>Step 3<\/strong><br><span style=\"font-size:12px;\">\u5927\u304d\u3044\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u5185\u3092<br>--max-depth=2 \u3067<br>\u3055\u3089\u306b\u6398\u308a\u4e0b\u3052\u308b<\/span><\/div>\n  <div class=\"g-flow-arrow\">&#8594;<\/div>\n  <div class=\"g-flow-item\"><strong>Step 4<\/strong><br><span style=\"font-size:12px;\">du -ah | sort -rh \u3067<br>\u5927\u304d\u3044\u30d5\u30a1\u30a4\u30eb\u3092<br>\u7279\u5b9a\u3057\u3066\u524a\u9664\u691c\u8a0e<\/span><\/div>\n<\/div>\n\n\n\n<div style=\"background:#1e1e1e;border-radius:8px;padding:20px 24px;margin:20px 0;overflow-x:auto;\">\n  <pre style=\"margin:0;color:#d4d4d4;font-size:14px;line-height:1.6;font-family:'Courier New',monospace;\"># Step 1: \u30c7\u30a3\u30b9\u30af\u5168\u4f53\u3092\u78ba\u8a8d\n$ df -h\nFilesystem      Size  Used Avail Use% Mounted on\n\/dev\/sda1        50G   45G   5G  90% \/    \u2190 \u3053\u3053\u304c\u903c\u8feb\n\n# Step 2: \/ \u76f4\u4e0b\u3092\u78ba\u8a8d\n$ sudo du -h --max-depth=1 \/ 2&gt;\/dev\/null | sort -rh | head -10\n40G     \/var\n3.5G    \/home\n1.2G    \/usr\n...\n\n# Step 3: \/var \u3092\u6398\u308a\u4e0b\u3052\n$ sudo du -h --max-depth=2 \/var 2&gt;\/dev\/null | sort -rh | head -10\n38G     \/var\/log\n1.5G    \/var\/lib\n...\n38G     \/var\/log\/nginx\n\u2191 Nginx \u30ed\u30b0\u304c\u72af\u4eba\uff01\n\n# Step 4: \u30ed\u30b0\u30d5\u30a1\u30a4\u30eb\u3092\u500b\u5225\u78ba\u8a8d\n$ sudo du -ah \/var\/log\/nginx | sort -rh | head -5\n36G     \/var\/log\/nginx\/access.log\n1.5G    \/var\/log\/nginx\/error.log<\/pre>\n<\/div>\n\n\n\n<h3 class=\"wp-block-heading\">8-2. \u30b7\u30ca\u30ea\u30aa2: AI\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306e\u30c7\u30fc\u30bf\u30bb\u30c3\u30c8\u7ba1\u7406<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\u6a5f\u68b0\u5b66\u7fd2\u3084\u751f\u6210AI\u306e\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3067\u306f\u3001\u5b66\u7fd2\u7528\u30c7\u30fc\u30bf\u30bb\u30c3\u30c8\u30fb\u30e2\u30c7\u30eb\u306e\u30c1\u30a7\u30c3\u30af\u30dd\u30a4\u30f3\u30c8\u30d5\u30a1\u30a4\u30eb\u30fb\u5b9f\u9a13\u7d50\u679c\u306e\u30ed\u30b0\u304c\u81a8\u5927\u306a\u5bb9\u91cf\u3092\u5360\u3081\u308b\u3053\u3068\u304c\u3042\u308a\u307e\u3059\u3002\u5b9a\u671f\u7684\u306bdu\u3067\u30b5\u30a4\u30ba\u3092\u628a\u63e1\u3057\u3001\u4e0d\u8981\u306a\u30d5\u30a1\u30a4\u30eb\u3092\u6574\u7406\u3059\u308b\u7fd2\u6163\u304c\u91cd\u8981\u3067\u3059\u3002<\/p>\n\n\n\n<div style=\"background:#1e1e1e;border-radius:8px;padding:20px 24px;margin:20px 0;overflow-x:auto;\">\n  <pre style=\"margin:0;color:#d4d4d4;font-size:14px;line-height:1.6;font-family:'Courier New',monospace;\"># AI \u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306e\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u69cb\u6210\u3054\u3068\u306e\u30b5\u30a4\u30ba\u3092\u78ba\u8a8d\n$ du -h --max-depth=2 \/home\/user\/ai_project | sort -rh | head -20\n80G     \/home\/user\/ai_project\/datasets\/train\n45G     \/home\/user\/ai_project\/models\/checkpoints\n12G     \/home\/user\/ai_project\/datasets\/validation\n8G      \/home\/user\/ai_project\/logs\/experiments\n\n# \u30e2\u30c7\u30eb\u30c1\u30a7\u30c3\u30af\u30dd\u30a4\u30f3\u30c8\u30d5\u30a1\u30a4\u30eb\u3060\u3051\u78ba\u8a8d\n$ find \/home\/user\/ai_project -name \"*.pth\" -o -name \"*.pkl\" -o -name \"*.h5\" |   xargs du -sh | sort -rh\n\n# 30\u65e5\u4ee5\u4e0a\u524d\u306e\u30c1\u30a7\u30c3\u30af\u30dd\u30a4\u30f3\u30c8\u3092\u7279\u5b9a\uff08\u524a\u9664\u5019\u88dc\uff09\n$ find \/home\/user\/ai_project\/models -mtime +30 \\( -name \"*.pth\" -o -name \"*.pkl\" \\)   -exec du -sh {} \\; | sort -rh<\/pre>\n<\/div>\n\n\n\n<div style=\"background:#f0fdf4;border:1px solid #22c55e;border-radius:8px;padding:20px 24px;margin:24px 0;\">\n  <div style=\"display:flex;align-items:center;gap:8px;margin-bottom:12px;\">\n    <span style=\"font-size:18px;\">&#128161;<\/span>\n    <strong style=\"color:#16a34a;font-size:15px;\">AI\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306e\u30b9\u30c8\u30ec\u30fc\u30b8\u7bc0\u7d04tips<\/strong>\n  <\/div>\n  <p style=\"margin:0;font-size:15px;line-height:1.8;color:#333;\">\u6700\u7d42\u30e2\u30c7\u30eb\u3060\u3051\u3092\u6b8b\u3057\u3066\u30c1\u30a7\u30c3\u30af\u30dd\u30a4\u30f3\u30c8\u3092\u524a\u9664\u3059\u308b\u3068\u5287\u7684\u306b\u5bb9\u91cf\u304c\u524a\u6e1b\u3067\u304d\u307e\u3059\u3002\u5b9f\u9a13\u7d50\u679c\u306e\u30ed\u30b0\u3082\u300c\u6700\u65b050\u56de\u5206\u3060\u3051\u4fdd\u6301\u300d\u306a\u3069\u306e\u30eb\u30fc\u30eb\u3092\u8a2d\u3051\u308b\u3068\u7ba1\u7406\u304c\u697d\u306b\u306a\u308a\u307e\u3059\u3002\u307e\u305ftarball\uff08tar.gz\uff09\u3067\u5727\u7e2e\u3057\u3066\u304b\u3089\u4fdd\u5b58\u3059\u308b\u7fd2\u6163\u3092\u3064\u3051\u308b\u3068\u3001\u30c6\u30ad\u30b9\u30c8\u7cfb\u306e\u30c7\u30fc\u30bf\u30bb\u30c3\u30c8\u306750\u301c70%\u306e\u5bb9\u91cf\u524a\u6e1b\u304c\u898b\u8fbc\u3081\u307e\u3059\u3002<\/p>\n<\/div>\n\n\n\n<h3 class=\"wp-block-heading\">8-3. \u30b7\u30ca\u30ea\u30aa3: \u6708\u6b21\u30c7\u30a3\u30b9\u30af\u4f7f\u7528\u91cf\u30ec\u30dd\u30fc\u30c8\u306e\u751f\u6210<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\u5b9a\u671f\u7684\u306b\u30c7\u30a3\u30b9\u30af\u4f7f\u7528\u91cf\u3092\u30ec\u30dd\u30fc\u30c8\u3068\u3057\u3066\u8a18\u9332\u3057\u3066\u304a\u304f\u3068\u3001\u300c\u5148\u6708\u304b\u3089\u6025\u306b\u5897\u3048\u305f\u300d\u3068\u3044\u3046\u5909\u5316\u3092\u5373\u5ea7\u306b\u5bdf\u77e5\u3067\u304d\u307e\u3059\u3002\u4ee5\u4e0b\u306e\u30b7\u30a7\u30eb\u30b9\u30af\u30ea\u30d7\u30c8\u3092\u67081\u56decron\u3067\u5b9f\u884c\u3059\u308b\u3060\u3051\u3067\u3001\u81ea\u52d5\u7684\u306b\u30ec\u30dd\u30fc\u30c8\u3092\u4fdd\u5b58\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<div style=\"background:#1e1e1e;border-radius:8px;padding:20px 24px;margin:20px 0;overflow-x:auto;\">\n  <pre style=\"margin:0;color:#d4d4d4;font-size:14px;line-height:1.6;font-family:'Courier New',monospace;\">#!\/bin\/bash\n# disk_report.sh - \u6708\u6b21\u30c7\u30a3\u30b9\u30af\u4f7f\u7528\u91cf\u30ec\u30dd\u30fc\u30c8\u751f\u6210\nDATE=$(date +%Y%m%d)\nREPORT_FILE=\"\/var\/reports\/disk_${DATE}.txt\"\n\necho \"=== \u30c7\u30a3\u30b9\u30af\u4f7f\u7528\u91cf\u30ec\u30dd\u30fc\u30c8: $(date) ===\" &gt; \"$REPORT_FILE\"\necho \"\" &gt;&gt; \"$REPORT_FILE\"\n\necho \"--- \u30c7\u30a3\u30b9\u30af\u5168\u4f53 ---\" &gt;&gt; \"$REPORT_FILE\"\ndf -h &gt;&gt; \"$REPORT_FILE\"\necho \"\" &gt;&gt; \"$REPORT_FILE\"\n\necho \"--- \u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u5225\u4f7f\u7528\u91cf\uff08\u4e0a\u4f4d20\uff09 ---\" &gt;&gt; \"$REPORT_FILE\"\nsudo du -h --max-depth=2 \/ 2&gt;\/dev\/null | sort -rh | head -20 &gt;&gt; \"$REPORT_FILE\"\n\necho \"\" &gt;&gt; \"$REPORT_FILE\"\necho \"--- 1GB\u4ee5\u4e0a\u306e\u30d5\u30a1\u30a4\u30eb ---\" &gt;&gt; \"$REPORT_FILE\"\nsudo find \/var \/home -type f -size +1G 2&gt;\/dev\/null | xargs du -sh 2&gt;\/dev\/null | sort -rh &gt;&gt; \"$REPORT_FILE\"\n\necho \"\u30ec\u30dd\u30fc\u30c8\u3092 ${REPORT_FILE} \u306b\u4fdd\u5b58\u3057\u307e\u3057\u305f\"\n\n# cron\u306b\u767b\u9332\u3059\u308b\u5834\u5408\uff08\u6bce\u67081\u65e5\u306e\u5348\u524d2\u6642\u306b\u5b9f\u884c\uff09\n# 0 2 1 * * \/home\/user\/disk_report.sh<\/pre>\n<\/div>\n\n\n\n<div class=\"balloon-wrap is-right\">\n  <div class=\"balloon-icon\">\n    <img decoding=\"async\" src=\"https:\/\/genai-ai.co.jp\/ai-kanri\/wp-content\/uploads\/2026\/04\/yamazaki-avatar.png\" alt=\"AI\u9b3c\u7ba1\u7406\u5c71\u5d0e\">\n    <span class=\"balloon-name\">AI\u9b3c\u7ba1\u7406\u5c71\u5d0e<\/span>\n  <\/div>\n  <div class=\"balloon-body\">\u6708\u6b21\u30ec\u30dd\u30fc\u30c8\u3092\u81ea\u52d5\u5316\u3057\u3066\u304a\u304f\u3068\u3001\u300c\u5148\u6708\u3088\u308a \/var\/log \u304c3GB\u5897\u3048\u305f\u300d\u3068\u3044\u3046\u5909\u5316\u304c\u3059\u3050\u306b\u5206\u304b\u308a\u307e\u3059\u3002\u4eba\u9593\u304c\u6bce\u6708\u624b\u52d5\u3067du\u3092\u53e9\u304f\u3088\u308a\u3082\u306f\u308b\u304b\u306b\u78ba\u5b9f\u3067\u3059\u3057\u3001Slack\u306b\u81ea\u52d5\u901a\u77e5\u3059\u308b\u3088\u3046\u306b\u62e1\u5f35\u3059\u308c\u3070\u66f4\u306b\u697d\u306b\u306a\u308a\u307e\u3059\u3002<\/div>\n<\/div>\n\n\n<div style=\"margin:48px 0 8px;display:flex;gap:12px;justify-content:center;flex-wrap:wrap;\"><a href=\"https:\/\/aikanri.genai-ai.co.jp\/seminar2-blog\/?utm_source=blog&#038;utm_medium=h2banner&#038;utm_content=cc-linux-du&#038;blog_slug=cc-linux-du\" target=\"_blank\" rel=\"noopener\" aria-label=\"Claude Code \u5b8c\u5168\u89e3\u8aac\u30bb\u30df\u30ca\u30fc\uff08\u7121\u6599\u30fb1on1\u30fb60\u5206\uff09\u306e\u4e88\u7d04\u753b\u9762\u3078\" style=\"flex:1 1 280px;max-width:360px;text-decoration:none;\"><img decoding=\"async\" src=\"https:\/\/genai-ai.co.jp\/ai-kanri\/wp-content\/uploads\/2026\/05\/cta_seminar_claude_code_2026.jpg\" alt=\"Claude Code \u5b8c\u5168\u89e3\u8aac\u30bb\u30df\u30ca\u30fc\uff5c\u7d4c\u55b6\u8005\u30fb\u4f1a\u793e\u5f79\u54e1\u5c02\u7528 1on1 60\u5206 \u7121\u6599\" style=\"width:100%;height:auto;border-radius:8px;display:block;\"><\/a><a href=\"https:\/\/aikanri.genai-ai.co.jp\/?utm_source=blog&#038;utm_medium=h2banner&#038;utm_campaign=cc-linux-du&#038;utm_content=h2-banner-kanri\" target=\"_blank\" rel=\"noopener\" aria-label=\"AI\u9b3c\u7ba1\u7406 \u516c\u5f0f\u30b5\u30a4\u30c8\u3078\" style=\"flex:1 1 280px;max-width:360px;text-decoration:none;\"><img decoding=\"async\" src=\"https:\/\/genai-ai.co.jp\/ai-kanri\/wp-content\/uploads\/2026\/05\/cta_blog_1to1.jpg\" alt=\"Claude Code\u3092\u7d4c\u55b6\u306b\u6d3b\u304b\u3057\u305f\u3044\u65b9\u3078 \u2014 AI\u9b3c\u7ba1\u7406\" style=\"width:100%;height:auto;border-radius:8px;display:block;\"><\/a><\/div>\n\n\n<div id=\"sec-09\"><\/div>\n<h2 class=\"section-header-img\" style=\"margin:32px 0 24px;border-radius:8px;overflow:hidden;background:linear-gradient(135deg,#1a1a1a 0%,#2a1015 100%);padding:32px 28px;color:#fff;position:relative;border:none;border-left:none;text-align:left;\">\n  <span class=\"section-number\" style=\"display:block;\">09<\/span>\n  <span class=\"section-label\" style=\"display:block;\">CLAUDE CODE AUTOMATION<\/span>\n  <span class=\"section-title\" style=\"display:block;\">Claude Code\u306b\u4efb\u305b\u308b\u3068du\u30b3\u30de\u30f3\u30c9\u304c\u4e0d\u8981\u306b\u306a\u308b<\/span>\n  <span class=\"section-desc\">\u300c\u30c7\u30a3\u30b9\u30af\u304c\u5897\u3048\u3066\u304d\u305f\u300d\u3068\u8a71\u3057\u304b\u3051\u308b\u3060\u3051\u3067\u3001\u8abf\u67fb\u304b\u3089\u6574\u7406\u63d0\u6848\u307e\u3067\u5168\u81ea\u52d5<\/span>\n<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u3053\u3053\u307e\u3067du\u30b3\u30de\u30f3\u30c9\u306e\u8a73\u7d30\u3092\u89e3\u8aac\u3057\u3066\u304d\u307e\u3057\u305f\u304c\u3001\u5b9f\u3092\u8a00\u3046\u3068\u5f0a\u793e\uff08\u682a\u5f0f\u4f1a\u793eGENAI\uff09\u3067\u306f\u3001\u6bce\u56de\u624b\u52d5\u3067du\u3092\u53e9\u3044\u3066\u306f\u3044\u307e\u305b\u3093\u3002<strong>Claude Code\uff08Anthropic\u306e\u30bf\u30fc\u30df\u30ca\u30eb\u4e0a\u3067\u52d5\u304fAI\u30a8\u30fc\u30b8\u30a7\u30f3\u30c8\uff09<\/strong>\u306b\u300c\u30c7\u30a3\u30b9\u30af\u306e\u8abf\u67fb\u3092\u3057\u3066\u300d\u3068\u8a71\u3057\u304b\u3051\u308b\u3060\u3051\u3067\u3001du\u30b3\u30de\u30f3\u30c9\u306e\u5b9f\u884c\u304b\u3089\u7d50\u679c\u306e\u89e3\u6790\u30fb\u6574\u7406\u63d0\u6848\u307e\u3067\u81ea\u52d5\u3067\u3084\u3063\u3066\u304f\u308c\u308b\u304b\u3089\u3067\u3059\u3002<\/p>\n\n\n\n<div style=\"background:#f8f9fa;border-left:4px solid #6b7280;border-radius:0 8px 8px 0;padding:16px 20px;margin:20px 0;\">\n  <p style=\"margin:0 0 4px;font-size:13px;font-weight:700;color:#6b7280;letter-spacing:1px;\">&#128218; \u7528\u8a9e\u89e3\u8aac<\/p>\n  <p style=\"margin:0;font-size:15px;line-height:1.7;\"><strong>Claude Code<\/strong>\uff1aAnthropic\u304c\u63d0\u4f9b\u3059\u308b\u30bf\u30fc\u30df\u30ca\u30eb\uff08\u30b3\u30de\u30f3\u30c9\u30e9\u30a4\u30f3\uff09\u4e0a\u3067\u52d5\u304fAI\u30a8\u30fc\u30b8\u30a7\u30f3\u30c8\u3002\u30c1\u30e3\u30c3\u30c8\u5f62\u5f0f\u306e\u6307\u793a\u3067\u30d5\u30a1\u30a4\u30eb\u64cd\u4f5c\u30fb\u30b3\u30de\u30f3\u30c9\u5b9f\u884c\u30fb\u30b9\u30af\u30ea\u30d7\u30c8\u751f\u6210\u307e\u3067\u81ea\u5f8b\u7684\u306b\u884c\u3048\u308b\u696d\u52d9\u30c4\u30fc\u30eb\u3002Claude Pro\u30d7\u30e9\u30f3\u307e\u305f\u306fMax\u30d7\u30e9\u30f3\u306b\u8ffd\u52a0\u6599\u91d1\u306a\u3057\u3067\u542b\u307e\u308c\u307e\u3059\u3002<\/p>\n<\/div>\n\n\n\n<h3 class=\"wp-block-heading\">9-1. Claude Code\u3078\u306e\u8a71\u3057\u304b\u3051\u65b9\u306e\u4f8b<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Claude Code\u3092\u4f7f\u3063\u305f\u30c7\u30a3\u30b9\u30af\u7ba1\u7406\u306f\u3001Linux\u30b3\u30de\u30f3\u30c9\u306e\u77e5\u8b58\u304c\u306a\u304f\u3066\u3082\u81ea\u7136\u306a\u65e5\u672c\u8a9e\u3067\u6307\u793a\u3067\u304d\u307e\u3059\u3002\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u6307\u793a\u3092\u30bf\u30fc\u30df\u30ca\u30eb\u3067\u5165\u529b\u3059\u308b\u3060\u3051\u3067\u3001\u8abf\u67fb\u304b\u3089\u63d0\u6848\u307e\u3067\u4e00\u6c17\u901a\u8cab\u3067\u3084\u3063\u3066\u304f\u308c\u307e\u3059\u3002<\/p>\n\n\n\n<div style=\"background:#1e1e1e;border-radius:8px;padding:20px 24px;margin:20px 0;overflow-x:auto;\">\n  <pre style=\"margin:0;color:#d4d4d4;font-size:14px;line-height:1.6;font-family:'Courier New',monospace;\"># Claude Code \u3078\u306e\u6307\u793a\u4f8b\uff08\u30bf\u30fc\u30df\u30ca\u30eb\u3067 \"claude\" \u3092\u8d77\u52d5\u3057\u3066\u304b\u3089\u8a71\u3057\u304b\u3051\u308b\uff09\n\n\u300c\/var\/log \u306e\u30c7\u30a3\u30b9\u30af\u4f7f\u7528\u91cf\u3092\u8abf\u3079\u3066\u3001\u5927\u304d\u3044\u30d5\u30a1\u30a4\u30eb\u3092\u7279\u5b9a\u3057\u3066\u304f\u3060\u3055\u3044\u300d\n\n\u300c\u30db\u30fc\u30e0\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306e\u4e2d\u3067\u3069\u306e\u30d5\u30a9\u30eb\u30c0\u304c\u4e00\u756a\u5bb9\u91cf\u3092\u4f7f\u3063\u3066\u3044\u308b\u304b\u8abf\u3079\u3066\u3001\n \u524a\u9664\u3067\u304d\u305d\u3046\u306a\u3082\u306e\u304c\u3042\u308c\u3070\u5019\u88dc\u3092\u6559\u3048\u3066\u304f\u3060\u3055\u3044\u300d\n\n\u300c30\u65e5\u4ee5\u4e0a\u30a2\u30af\u30bb\u30b9\u3055\u308c\u3066\u3044\u306a\u30441GB\u4ee5\u4e0a\u306e\u30d5\u30a1\u30a4\u30eb\u3092\u30ea\u30b9\u30c8\u30a2\u30c3\u30d7\u3057\u3066\u3001\n \u524a\u9664\u3057\u305f\u5834\u5408\u306e\u5bb9\u91cf\u524a\u6e1b\u91cf\u3092\u8a08\u7b97\u3057\u3066\u304f\u3060\u3055\u3044\u300d\n\n\u300cAI\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306e \/home\/user\/ai_project \u3092\u5206\u6790\u3057\u3066\u3001\n \u4e0d\u8981\u306a\u30c1\u30a7\u30c3\u30af\u30dd\u30a4\u30f3\u30c8\u30d5\u30a1\u30a4\u30eb\u3092\u524a\u9664\u3059\u308b\u624b\u9806\u3092\u4f5c\u3063\u3066\u304f\u3060\u3055\u3044\u300d<\/pre>\n<\/div>\n\n\n\n<p class=\"wp-block-paragraph\">Claude Code\u306f\u4e0a\u8a18\u306e\u6307\u793a\u3092\u53d7\u3051\u53d6\u308b\u3068\u3001\u9069\u5207\u306adu\u30b3\u30de\u30f3\u30c9\u3084find\u30b3\u30de\u30f3\u30c9\u3092\u81ea\u52d5\u3067\u9078\u629e\u30fb\u5b9f\u884c\u3057\u3001\u7d50\u679c\u3092\u89e3\u6790\u3057\u3066\u300c\u3053\u306e\u30d5\u30a1\u30a4\u30eb\u3092\u524a\u9664\u3059\u308b\u3068\u4f55GB\u7a7a\u304f\u300d\u300c\u512a\u5148\u5ea6\u306e\u9ad8\u3044\u524a\u9664\u5019\u88dc\u306f\u3053\u308c\u300d\u3068\u3044\u3046\u5f62\u3067\u5831\u544a\u3057\u3066\u304f\u308c\u307e\u3059\u3002\u30b3\u30de\u30f3\u30c9\u306e\u6587\u6cd5\u3092\u899a\u3048\u308b\u5fc5\u8981\u304c\u306a\u304f\u3001\u610f\u56f3\u3092\u65e5\u672c\u8a9e\u3067\u4f1d\u3048\u308b\u3060\u3051\u3067\u6e08\u307f\u307e\u3059\u3002<\/p>\n\n\n\n<div class=\"g-flow-row\" style=\"margin:24px 0;\">\n  <div class=\"g-flow-item\"><strong>\u4eba\u9593\u304c<br>\u65e5\u672c\u8a9e\u3067\u6307\u793a<\/strong><br><span style=\"font-size:12px;\">\u300c\/var\/log \u3092\u8abf\u3079\u3066\u300d<\/span><\/div>\n  <div class=\"g-flow-arrow\">&#8594;<\/div>\n  <div class=\"g-flow-item\"><strong>Claude Code\u304c<br>\u30b3\u30de\u30f3\u30c9\u3092\u9078\u629e<\/strong><br><span style=\"font-size:12px;\">du, find, sort \u3092\u7d44\u307f\u5408\u308f\u305b<\/span><\/div>\n  <div class=\"g-flow-arrow\">&#8594;<\/div>\n  <div class=\"g-flow-item\"><strong>\u5b9f\u884c\u30fb\u89e3\u6790<\/strong><br><span style=\"font-size:12px;\">\u7d50\u679c\u3092\u81ea\u52d5\u96c6\u8a08<\/span><\/div>\n  <div class=\"g-flow-arrow\">&#8594;<\/div>\n  <div class=\"g-flow-item\"><strong>\u6574\u7406\u63d0\u6848\u3092\u51fa\u529b<\/strong><br><span style=\"font-size:12px;\">\u524a\u9664\u5019\u88dc\u30fb\u30b5\u30a4\u30ba\u524a\u6e1b\u91cf\u3092\u30ec\u30dd\u30fc\u30c8<\/span><\/div>\n<\/div>\n\n\n\n<h3 class=\"wp-block-heading\">9-2. \u5f0a\u793eGENAI\u3067\u306eClaude Code\u6d3b\u7528\u4e8b\u4f8b<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\u5f0a\u793e\u3067\u306f\u3001<strong>Claude Max 20x\u30d7\u30e9\u30f3\uff08\u6708\u984d$200\u3001\u7d0430,000\u5186\uff09<\/strong>\u3092\u5951\u7d04\u3057\u3066\u3001\u30b5\u30fc\u30d0\u30fc\u7ba1\u7406\u30fb\u5e83\u544a\u904b\u7528\u30fb\u8a18\u4e8b\u5236\u4f5c\u30fb\u7d4c\u7406\u306a\u3069\u5168\u793e\u306e\u696d\u52d9\u306bClaude Code\u3092\u6d3b\u7528\u3057\u3066\u3044\u307e\u3059\u3002\u30c7\u30a3\u30b9\u30af\u7ba1\u7406\u306b\u3064\u3044\u3066\u3082\u3001\u6708\u6b21\u3067\u300c\u30b9\u30c8\u30ec\u30fc\u30b8\u306e\u6574\u7406\u3092\u3057\u3066\u300d\u3068Claude\u306b\u4f9d\u983c\u3059\u308b\u3060\u3051\u3067\u3001\u8abf\u67fb\u304b\u3089\u53e4\u3044\u30d0\u30c3\u30af\u30a2\u30c3\u30d7\u306e\u524a\u9664\u63d0\u6848\u307e\u3067\u5b8c\u7d50\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<table>\n<thead><tr><th>\u4f5c\u696d<\/th><th>Claude Code\u306a\u3057\uff08\u624b\u52d5\uff09<\/th><th>Claude Code\u3042\u308a<\/th><th>\u524a\u6e1b\u6642\u9593<\/th><\/tr><\/thead>\n<tbody>\n<tr><td>\u30c7\u30a3\u30b9\u30af\u903c\u8feb\u306e\u539f\u56e0\u7279\u5b9a<\/td><td>df\/du\/find \u3092\u624b\u52d5\u3067\u7d44\u307f\u5408\u308f\u305b\uff0815\u301c30\u5206\uff09<\/td><td>\u300c\u30c7\u30a3\u30b9\u30af\u3092\u8abf\u3079\u3066\u300d\u3068\u8a71\u3057\u304b\u3051\u308b\u3060\u3051\uff083\u5206\uff09<\/td><td>\u7d0480%\u524a\u6e1b<\/td><\/tr>\n<tr><td>\u6708\u6b21\u30b9\u30c8\u30ec\u30fc\u30b8\u30ec\u30dd\u30fc\u30c8\u4f5c\u6210<\/td><td>\u30b9\u30af\u30ea\u30d7\u30c8\u4f5c\u6210\uff0b\u5b9f\u884c\uff0860\u5206\uff09<\/td><td>\u300c\u6708\u6b21\u30ec\u30dd\u30fc\u30c8\u3092\u4f5c\u3063\u3066\u300d\u3068\u6307\u793a\uff085\u5206\uff09<\/td><td>\u7d0490%\u524a\u6e1b<\/td><\/tr>\n<tr><td>\u4e0d\u8981\u30d5\u30a1\u30a4\u30eb\u306e\u6574\u7406\u63d0\u6848<\/td><td>\u624b\u52d5\u3067\u30d5\u30a1\u30a4\u30eb\u30ea\u30b9\u30c8\u3092\u78ba\u8a8d\uff0830\u5206\u301c\uff09<\/td><td>Claude Code\u304c\u81ea\u52d5\u5206\u6790\u30fb\u63d0\u6848\uff085\u5206\uff09<\/td><td>\u7d0485%\u524a\u6e1b<\/td><\/tr>\n<tr><td>\u30af\u30ea\u30fc\u30f3\u30a2\u30c3\u30d7\u30b9\u30af\u30ea\u30d7\u30c8\u4f5c\u6210<\/td><td>\u30b7\u30a7\u30eb\u30b9\u30af\u30ea\u30d7\u30c8\u3092\u81ea\u5206\u3067\u66f8\u304f\uff0845\u5206\uff09<\/td><td>\u300c\u30b9\u30af\u30ea\u30d7\u30c8\u3092\u751f\u6210\u3057\u3066\u300d\u3068\u6307\u793a\uff085\u5206\uff09<\/td><td>\u7d0490%\u524a\u6e1b<\/td><\/tr>\n<\/tbody>\n<\/table>\n\n\n\n<div class=\"balloon-wrap\">\n  <div class=\"balloon-icon\">\n    <img decoding=\"async\" src=\"https:\/\/genai-ai.co.jp\/ai-kanri\/wp-content\/uploads\/2026\/04\/ceo-sugasawa.jpg\" alt=\"\u4ee3\u8868\u83c5\u6fa4\">\n    <span class=\"balloon-name\">\u4ee3\u8868\u83c5\u6fa4<\/span>\n  <\/div>\n  <div class=\"balloon-body\">\u300cdu\u30b3\u30de\u30f3\u30c9\u3092\u899a\u3048\u308b\u3088\u308a\u3001Claude Code\u306b\u983c\u3080\u65b9\u304c\u901f\u3044\u300d\u3068\u3044\u3046\u306e\u306f\u4e8b\u5b9f\u3067\u3059\u3002\u305f\u3060\u3001\u30b3\u30de\u30f3\u30c9\u306e\u4ed5\u7d44\u307f\u3092\u7406\u89e3\u3057\u3066\u304a\u304f\u3068\u3001Claude Code\u304c\u51fa\u529b\u3057\u305f\u63d0\u6848\u306e\u59a5\u5f53\u6027\u3092\u5224\u65ad\u3067\u304d\u308b\u3002\u4e21\u65b9\u77e5\u3063\u3066\u304a\u304f\u306e\u304c\u30d9\u30b9\u30c8\u3067\u3059\u3002<\/div>\n<\/div>\n\n\n\n<p class=\"wp-block-paragraph\">\u300cdu\u30b3\u30de\u30f3\u30c9\u3092\u5b8c\u5168\u30de\u30b9\u30bf\u30fc\u3057\u3066\u304b\u3089Claude Code\u3092\u4f7f\u3046\u300d\u3067\u306f\u306a\u304f\u3001<strong>du\u306e\u57fa\u672c\u3092\u7406\u89e3\u3057\u3064\u3064\u3001\u7e70\u308a\u8fd4\u3059\u4f5c\u696d\u306fClaude Code\u306b\u4efb\u305b\u308b<\/strong>\u3068\u3044\u3046\u30cf\u30a4\u30d6\u30ea\u30c3\u30c9\u304c\u6700\u3082\u52b9\u7387\u7684\u306a\u904b\u7528\u65b9\u6cd5\u3067\u3059\u3002\u30b3\u30de\u30f3\u30c9\u306e\u77e5\u8b58\u306fClaude Code\u304c\u63d0\u6848\u3057\u305f\u5185\u5bb9\u3092\u300c\u6b63\u3057\u3044\u304b\u30fb\u5b89\u5168\u304b\u300d\u3092\u5224\u65ad\u3059\u308b\u305f\u3081\u306e\u7d20\u990a\u3068\u3057\u3066\u6d3b\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Linux\u7ba1\u7406\u30fbAI\u30c4\u30fc\u30eb\u6d3b\u7528\u3067\u306eClaude Code\u5c0e\u5165\u3092\u30b5\u30dd\u30fc\u30c8\u3057\u307e\u3059<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">du\u30b3\u30de\u30f3\u30c9\u306e\u3088\u3046\u306a\u65e5\u3005\u306e\u904b\u7528\u4f5c\u696d\u3092Claude Code\u3067\u81ea\u52d5\u5316\u3057\u305f\u3044\u65b9\u3001\u307e\u305f\u306fAI\u30c4\u30fc\u30eb\u3092\u4f7f\u3063\u305f\u696d\u52d9\u52b9\u7387\u5316\u3092\u672c\u683c\u7684\u306b\u9032\u3081\u305f\u3044\u7d4c\u55b6\u8005\u30fb\u7ba1\u7406\u8077\u306e\u65b9\u306b\u3001\u5f0a\u793eAI\u9b3c\u7ba1\u7406\u306e\u5c0e\u5165\u652f\u63f4\u30b5\u30fc\u30d3\u30b9\u3092\u3054\u7d39\u4ecb\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<div class=\"balloon-wrap is-right\">\n  <div class=\"balloon-icon\">\n    <img decoding=\"async\" src=\"https:\/\/genai-ai.co.jp\/ai-kanri\/wp-content\/uploads\/2026\/04\/yamazaki-avatar.png\" alt=\"AI\u9b3c\u7ba1\u7406\u5c71\u5d0e\">\n    <span class=\"balloon-name\">AI\u9b3c\u7ba1\u7406\u5c71\u5d0e<\/span>\n  <\/div>\n  <div class=\"balloon-body\">\u300cLinux\u30b5\u30fc\u30d0\u30fc\u306e\u7ba1\u7406\u3092AI\u306b\u4efb\u305b\u305f\u3044\u304c\u3001\u3069\u3053\u304b\u3089\u59cb\u3081\u308c\u3070\u3044\u3044\u304b\u5206\u304b\u3089\u306a\u3044\u300d\u3068\u3044\u3046\u65b9\u3082\u3001\u304a\u6c17\u8efd\u306b\u3054\u76f8\u8ac7\u304f\u3060\u3055\u3044\u3002\u5f0a\u793e\u306e\u5b9f\u904b\u7528\u30ce\u30a6\u30cf\u30a6\u3092\u3082\u3068\u306b\u3001\u5177\u4f53\u7684\u306a\u81ea\u52d5\u5316\u30d7\u30e9\u30f3\u3092\u4e00\u7dd2\u306b\u8a2d\u8a08\u3057\u307e\u3059\u3002<\/div>\n<\/div>\n\n\n\n<div style=\"background:linear-gradient(135deg,#1a1a1a 0%,#2a1015 100%);border-radius:16px;padding:36px 32px;margin:48px 0 16px;color:#fff;\">\n  <p style=\"font-size:13px;font-weight:700;color:#dc2626;letter-spacing:2px;margin:0 0 12px;\">NEXT STEP<\/p>\n  <p style=\"font-size:22px;font-weight:800;line-height:1.5;margin:0 0 20px;\">\u3053\u306e\u8a18\u4e8b\u306e\u5185\u5bb9\u3092\u3001\u3042\u306a\u305f\u306e\u30d3\u30b8\u30cd\u30b9\u3067<br>\u5b9f\u8df5\u3057\u3066\u307f\u307e\u305b\u3093\u304b\uff1f<\/p>\n  <div style=\"background:rgba(255,255,255,0.06);border:1px solid rgba(255,255,255,0.12);border-radius:12px;padding:24px;max-width:560px;margin:0 auto;\">\n    <p style=\"font-size:13px;color:#dc2626;font-weight:700;margin:0 0 8px;\">AI\u6d3b\u7528\u3092\u81ea\u793e\u3067\u56de\u305b\u308b\u3088\u3046\u306b\u306a\u308a\u305f\u3044\u65b9\u3078<\/p>\n    <p style=\"font-size:20px;font-weight:800;margin:0 0 12px;\">AI\u9b3c\u7ba1\u7406<\/p>\n    <p style=\"font-size:14px;color:rgba(255,255,255,0.75);margin:0 0 20px;line-height:1.7;\">Claude Code\u30fbCowork\u5c0e\u5165\u652f\u63f4\u304b\u3089\u696d\u52d9\u8a2d\u8a08\u30fb\u793e\u5185\u6d78\u900f\u307e\u3067\u5b9f\u8df5\u30d9\u30fc\u30b9\u3067\u4f34\u8d70\u3002\u300c\u81ea\u793e\u3067\u56de\u305b\u308b\u7d44\u7e54\u300d\u309290\u65e5\u3067\u4f5c\u308b\u7d4c\u55b6\u8005\u5411\u3051\u30c8\u30ec\u30fc\u30cb\u30f3\u30b0\u3002<\/p>\n    <div style=\"text-align:center;\">\n      <a href=\"https:\/\/aikanri.genai-ai.co.jp\/?utm_source=blog&utm_medium=article&utm_campaign=cc-linux-du&utm_content=next-step-cta\" target=\"_blank\" rel=\"noopener\" style=\"display:inline-block;background:#dc2626;color:#fff;font-weight:700;font-size:15px;padding:14px 32px;border-radius:30px;text-decoration:none;\">AI\u9b3c\u7ba1\u7406\u3092\u8a73\u3057\u304f\u898b\u308b \u2192<\/a>\n    <\/div>\n  <\/div>\n<\/div>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"faq\">\u3088\u304f\u3042\u308b\u8cea\u554f<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">Q. du\u30b3\u30de\u30f3\u30c9\u3068df\u30b3\u30de\u30f3\u30c9\u306f\u3069\u3046\u4f7f\u3044\u5206\u3051\u308c\u3070\u3044\u3044\u3067\u3059\u304b\uff1f<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">A. df\u306f\u30c7\u30a3\u30b9\u30af\u30d1\u30fc\u30c6\u30a3\u30b7\u30e7\u30f3\u5168\u4f53\u306e\u7a7a\u304d\u5bb9\u91cf\u3092\u78ba\u8a8d\u3059\u308b\u30b3\u30de\u30f3\u30c9\u3001du\u306f\u7279\u5b9a\u306e\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3084\u30d5\u30a1\u30a4\u30eb\u306e\u4f7f\u7528\u91cf\u3092\u8a73\u3057\u304f\u8abf\u3079\u308b\u30b3\u30de\u30f3\u30c9\u3067\u3059\u3002\u30c7\u30a3\u30b9\u30af\u304c\u903c\u8feb\u3057\u305f\u969b\u306f\u307e\u305adf -h\u3067\u300c\u3069\u306e\u30d1\u30fc\u30c6\u30a3\u30b7\u30e7\u30f3\u304c\u554f\u984c\u304b\u300d\u3092\u7279\u5b9a\u3057\u3001\u6b21\u306bdu --max-depth=1\u3067\u300c\u3069\u306e\u30d5\u30a9\u30eb\u30c0\u304c\u5bb9\u91cf\u3092\u4f7f\u3063\u3066\u3044\u308b\u304b\u300d\u3092\u6398\u308a\u4e0b\u3052\u308b\u3068\u3044\u3046\u4f7f\u3044\u5206\u3051\u304c\u57fa\u672c\u3067\u3059\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Q. du -h \u306e -h \u306f\u4f55\u306e\u7565\u3067\u3059\u304b\uff1f<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">A. -h \u306f\u300chuman-readable\uff08\u4eba\u9593\u304c\u8aad\u307f\u3084\u3059\u3044\uff09\u300d\u306e\u7565\u3067\u3059\u3002\u3053\u306e\u30aa\u30d7\u30b7\u30e7\u30f3\u3092\u4ed8\u3051\u308b\u3068\u3001\u30d0\u30a4\u30c8\u6570\u306e\u751f\u306e\u6570\u5b57\u3067\u306f\u306a\u304f\u300c4.0K\u300d\u300c2.3M\u300d\u300c1.5G\u300d\u306e\u3088\u3046\u306a\u5358\u4f4d\u4ed8\u304d\u306e\u8868\u793a\u306b\u306a\u308a\u307e\u3059\u3002\u5b9f\u969b\u306e\u696d\u52d9\u3067\u306f\u5e38\u306b -h \u3092\u4ed8\u3051\u308b\u3053\u3068\u3092\u304a\u3059\u3059\u3081\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Q. Mac\u3067du --max-depth\u304c\u4f7f\u3048\u306a\u3044\u306e\u306f\u306a\u305c\u3067\u3059\u304b\uff1f<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">A. macOS\u306edu\u306fBSD\u7248\uff08Unix\u7cfb\uff09\u3067\u3001Linux\u3067\u4f7f\u308f\u308c\u308bGNU\u7248\u3068\u306f\u4e00\u90e8\u30aa\u30d7\u30b7\u30e7\u30f3\u304c\u7570\u306a\u308a\u307e\u3059\u3002macOS\u3067\u306f --max-depth=N \u306e\u4ee3\u308f\u308a\u306b -d N \u3092\u4f7f\u3044\u307e\u3059\u3002\u300cdu -h -d 1 \/var\u300d\u306e\u3088\u3046\u306b\u8a18\u8ff0\u3057\u3066\u304f\u3060\u3055\u3044\u3002Linux\u306eGNU\u7248\u3068\u5b8c\u5168\u306b\u4e92\u63db\u306b\u3057\u305f\u3044\u5834\u5408\u306f\u3001Homebrew\u3067\u300cbrew install coreutils\u300d\u3092\u5b9f\u884c\u3057\u3066GNU\u7248\uff08gdu\uff09\u3092\u5225\u9014\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u65b9\u6cd5\u3082\u3042\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Q. Permission denied\u30a8\u30e9\u30fc\u304c\u51fa\u3066\u3082\u30b5\u30a4\u30ba\u3092\u78ba\u8a8d\u3059\u308b\u3053\u3068\u306f\u3067\u304d\u307e\u3059\u304b\uff1f<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">A. \u306f\u3044\u30012\u3064\u306e\u65b9\u6cd5\u304c\u3042\u308a\u307e\u3059\u30021\u3064\u76ee\u306f\u30b3\u30de\u30f3\u30c9\u306e\u5148\u982d\u306bsudo\u3092\u4ed8\u3051\u3066\u7ba1\u7406\u8005\u6a29\u9650\u3067\u5b9f\u884c\u3059\u308b\u65b9\u6cd5\uff08sudo du -sh \/path\uff09\u30012\u3064\u76ee\u306f\u30a8\u30e9\u30fc\u3092\u7121\u8996\u3059\u308b\u30ea\u30c0\u30a4\u30ec\u30af\u30c8\uff08du -sh \/path 2>\/dev\/null\uff09\u3092\u672b\u5c3e\u306b\u4ed8\u3051\u3066\u30a8\u30e9\u30fc\u30e1\u30c3\u30bb\u30fc\u30b8\u3060\u3051\u6d88\u3059\u65b9\u6cd5\u3067\u3059\u3002\u30a2\u30af\u30bb\u30b9\u3067\u304d\u308b\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306e\u30b5\u30a4\u30ba\u306f\u8868\u793a\u3055\u308c\u307e\u3059\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Q. du\u30b3\u30de\u30f3\u30c9\u306e\u5b9f\u884c\u304c\u9045\u3044\u30fb\u6b62\u307e\u3063\u305f\u5834\u5408\u306f\u3069\u3046\u3059\u308c\u3070\u3044\u3044\u3067\u3059\u304b\uff1f<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">A. du\u304c\u9045\u3044\u4e3b\u306a\u539f\u56e0\u306f\u3001\u8abf\u3079\u308b\u30d5\u30a1\u30a4\u30eb\u6570\u304c\u81a8\u5927\u3067\u3042\u308b\u3053\u3068\u3067\u3059\u3002\u89e3\u6c7a\u7b56\u3068\u3057\u3066\u30011) --max-depth=1 \u3067\u968e\u5c64\u3092\u6d45\u304f\u3057\u3066\u7d5e\u308a\u8fbc\u3080\u30012) Ctrl+C \u3067\u4e2d\u65ad\u3057\u3066\u8abf\u67fb\u7bc4\u56f2\u3092\u72ed\u3081\u3066\u518d\u5b9f\u884c\u3059\u308b\u30013) \u591c\u9593\u306a\u3069\u8ca0\u8377\u306e\u4f4e\u3044\u6642\u9593\u5e2f\u306bnice\u30b3\u30de\u30f3\u30c9\uff08nice -n 19 du -sh \/path\uff09\u3067CPU\u512a\u5148\u5ea6\u3092\u4e0b\u3052\u3066\u5b9f\u884c\u3059\u308b\u3001\u3068\u3044\u3063\u305f\u65b9\u6cd5\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Q. du -h \u3068 du -sh \u306f\u3069\u3046\u9055\u3044\u307e\u3059\u304b\uff1f<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">A. -h \u306f\u300chuman-readable\u5f62\u5f0f\u3067\u8868\u793a\u3059\u308b\u300d\u30aa\u30d7\u30b7\u30e7\u30f3\u3067\u3001\u30b5\u30d6\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3082\u542b\u3081\u3066\u3059\u3079\u3066\u306e\u884c\u304c\u4eba\u9593\u304c\u8aad\u307f\u3084\u3059\u3044\u30b5\u30a4\u30ba\u3067\u8868\u793a\u3055\u308c\u307e\u3059\u3002-s \u306f\u300csummarize\uff08\u5408\u8a08\u306e\u307f\u8868\u793a\uff09\u300d\u30aa\u30d7\u30b7\u30e7\u30f3\u3067\u3001\u6307\u5b9a\u3057\u305f\u30d1\u30b9\u306e\u5408\u8a08\u3060\u3051\u30921\u884c\u3067\u8868\u793a\u3057\u307e\u3059\u3002-sh \u3068\u7d44\u307f\u5408\u308f\u305b\u308b\u3068\u3001\u300c\u4eba\u9593\u304c\u8aad\u307f\u3084\u3059\u3044\u5f62\u5f0f\u3067\u5408\u8a08\u306e\u307f\u8868\u793a\u300d\u306b\u306a\u308a\u307e\u3059\u3002\u300c\u3053\u306e\u30d5\u30a9\u30eb\u30c0\u306f\u5168\u90e8\u3067\u4f55GB\uff1f\u300d\u3092\u7d20\u65e9\u304f\u78ba\u8a8d\u3057\u305f\u3044\u3068\u304d\u306f du -sh \u304c\u4fbf\u5229\u3067\u3059\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Q. Claude Code\u3092\u4f7f\u3046\u3068du\u30b3\u30de\u30f3\u30c9\u3092\u77e5\u3089\u306a\u304f\u3066\u3082\u30b5\u30fc\u30d0\u30fc\u7ba1\u7406\u3067\u304d\u307e\u3059\u304b\uff1f<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">A. \u3042\u308b\u7a0b\u5ea6\u306f\u53ef\u80fd\u3067\u3059\u3002Claude Code\u306b\u300c\/var\/log \u306e\u30c7\u30a3\u30b9\u30af\u4f7f\u7528\u91cf\u3092\u8abf\u3079\u3066\u5927\u304d\u3044\u30d5\u30a1\u30a4\u30eb\u3092\u6559\u3048\u3066\u300d\u3068\u81ea\u7136\u8a00\u8a9e\u3067\u6307\u793a\u3059\u308b\u3068\u3001\u9069\u5207\u306adu\u30b3\u30de\u30f3\u30c9\u3092\u81ea\u52d5\u5b9f\u884c\u3057\u3066\u7d50\u679c\u3092\u307e\u3068\u3081\u3066\u304f\u308c\u307e\u3059\u3002\u305f\u3060\u3057\u3001Claude Code\u304c\u63d0\u6848\u3057\u305f\u524a\u9664\u5019\u88dc\u304c\u672c\u5f53\u306b\u4e0d\u8981\u304b\u3092\u5224\u65ad\u3059\u308b\u305f\u3081\u306b\u3082\u3001du\u30b3\u30de\u30f3\u30c9\u306e\u57fa\u790e\u3092\u7406\u89e3\u3057\u3066\u304a\u304f\u3053\u3068\u3067\u3001\u3088\u308a\u5b89\u5168\u3067\u9069\u5207\u306a\u5224\u65ad\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<script type=\"application\/ld+json\">\n{\n  \"@context\": \"https:\/\/schema.org\",\n  \"@type\": \"FAQPage\",\n  \"mainEntity\": [\n    {\n      \"@type\": \"Question\",\n      \"name\": \"du\u30b3\u30de\u30f3\u30c9\u3068df\u30b3\u30de\u30f3\u30c9\u306f\u3069\u3046\u4f7f\u3044\u5206\u3051\u308c\u3070\u3044\u3044\u3067\u3059\u304b\uff1f\",\n      \"acceptedAnswer\": {\n        \"@type\": \"Answer\",\n        \"text\": \"df\u306f\u30c7\u30a3\u30b9\u30af\u30d1\u30fc\u30c6\u30a3\u30b7\u30e7\u30f3\u5168\u4f53\u306e\u7a7a\u304d\u5bb9\u91cf\u3092\u78ba\u8a8d\u3059\u308b\u30b3\u30de\u30f3\u30c9\u3001du\u306f\u7279\u5b9a\u306e\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3084\u30d5\u30a1\u30a4\u30eb\u306e\u4f7f\u7528\u91cf\u3092\u8a73\u3057\u304f\u8abf\u3079\u308b\u30b3\u30de\u30f3\u30c9\u3067\u3059\u3002\u30c7\u30a3\u30b9\u30af\u304c\u903c\u8feb\u3057\u305f\u969b\u306f\u307e\u305adf -h\u3067\u300c\u3069\u306e\u30d1\u30fc\u30c6\u30a3\u30b7\u30e7\u30f3\u304c\u554f\u984c\u304b\u300d\u3092\u7279\u5b9a\u3057\u3001\u6b21\u306bdu --max-depth=1\u3067\u300c\u3069\u306e\u30d5\u30a9\u30eb\u30c0\u304c\u5bb9\u91cf\u3092\u4f7f\u3063\u3066\u3044\u308b\u304b\u300d\u3092\u6398\u308a\u4e0b\u3052\u308b\u3068\u3044\u3046\u4f7f\u3044\u5206\u3051\u304c\u57fa\u672c\u3067\u3059\u3002\"\n      }\n    },\n    {\n      \"@type\": \"Question\",\n      \"name\": \"du -h \u306e -h \u306f\u4f55\u306e\u7565\u3067\u3059\u304b\uff1f\",\n      \"acceptedAnswer\": {\n        \"@type\": \"Answer\",\n        \"text\": \"-h \u306f\u300chuman-readable\uff08\u4eba\u9593\u304c\u8aad\u307f\u3084\u3059\u3044\uff09\u300d\u306e\u7565\u3067\u3059\u3002\u3053\u306e\u30aa\u30d7\u30b7\u30e7\u30f3\u3092\u4ed8\u3051\u308b\u3068\u3001\u30d0\u30a4\u30c8\u6570\u306e\u751f\u306e\u6570\u5b57\u3067\u306f\u306a\u304f\u300c4.0K\u300d\u300c2.3M\u300d\u300c1.5G\u300d\u306e\u3088\u3046\u306a\u5358\u4f4d\u4ed8\u304d\u306e\u8868\u793a\u306b\u306a\u308a\u307e\u3059\u3002\u5b9f\u969b\u306e\u696d\u52d9\u3067\u306f\u5e38\u306b -h \u3092\u4ed8\u3051\u308b\u3053\u3068\u3092\u304a\u3059\u3059\u3081\u3057\u307e\u3059\u3002\"\n      }\n    },\n    {\n      \"@type\": \"Question\",\n      \"name\": \"Mac\u3067du --max-depth\u304c\u4f7f\u3048\u306a\u3044\u306e\u306f\u306a\u305c\u3067\u3059\u304b\uff1f\",\n      \"acceptedAnswer\": {\n        \"@type\": \"Answer\",\n        \"text\": \"macOS\u306edu\u306fBSD\u7248\uff08Unix\u7cfb\uff09\u3067\u3001Linux\u3067\u4f7f\u308f\u308c\u308bGNU\u7248\u3068\u306f\u4e00\u90e8\u30aa\u30d7\u30b7\u30e7\u30f3\u304c\u7570\u306a\u308a\u307e\u3059\u3002macOS\u3067\u306f --max-depth=N \u306e\u4ee3\u308f\u308a\u306b -d N \u3092\u4f7f\u3044\u307e\u3059\u3002\u300cdu -h -d 1 \/var\u300d\u306e\u3088\u3046\u306b\u8a18\u8ff0\u3057\u3066\u304f\u3060\u3055\u3044\u3002Linux\u306eGNU\u7248\u3068\u5b8c\u5168\u306b\u4e92\u63db\u306b\u3057\u305f\u3044\u5834\u5408\u306f\u3001Homebrew\u3067\u300cbrew install coreutils\u300d\u3092\u5b9f\u884c\u3057\u3066GNU\u7248\uff08gdu\uff09\u3092\u5225\u9014\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u65b9\u6cd5\u3082\u3042\u308a\u307e\u3059\u3002\"\n      }\n    },\n    {\n      \"@type\": \"Question\",\n      \"name\": \"Permission denied\u30a8\u30e9\u30fc\u304c\u51fa\u3066\u3082\u30b5\u30a4\u30ba\u3092\u78ba\u8a8d\u3059\u308b\u3053\u3068\u306f\u3067\u304d\u307e\u3059\u304b\uff1f\",\n      \"acceptedAnswer\": {\n        \"@type\": \"Answer\",\n        \"text\": \"\u306f\u3044\u30012\u3064\u306e\u65b9\u6cd5\u304c\u3042\u308a\u307e\u3059\u30021\u3064\u76ee\u306f\u30b3\u30de\u30f3\u30c9\u306e\u5148\u982d\u306bsudo\u3092\u4ed8\u3051\u3066\u7ba1\u7406\u8005\u6a29\u9650\u3067\u5b9f\u884c\u3059\u308b\u65b9\u6cd5\uff08sudo du -sh \/path\uff09\u30012\u3064\u76ee\u306f\u30a8\u30e9\u30fc\u3092\u7121\u8996\u3059\u308b\u30ea\u30c0\u30a4\u30ec\u30af\u30c8\uff08du -sh \/path 2>\/dev\/null\uff09\u3092\u672b\u5c3e\u306b\u4ed8\u3051\u3066\u30a8\u30e9\u30fc\u30e1\u30c3\u30bb\u30fc\u30b8\u3060\u3051\u6d88\u3059\u65b9\u6cd5\u3067\u3059\u3002\u30a2\u30af\u30bb\u30b9\u3067\u304d\u308b\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306e\u30b5\u30a4\u30ba\u306f\u8868\u793a\u3055\u308c\u307e\u3059\u3002\"\n      }\n    },\n    {\n      \"@type\": \"Question\",\n      \"name\": \"du\u30b3\u30de\u30f3\u30c9\u306e\u5b9f\u884c\u304c\u9045\u3044\u30fb\u6b62\u307e\u3063\u305f\u5834\u5408\u306f\u3069\u3046\u3059\u308c\u3070\u3044\u3044\u3067\u3059\u304b\uff1f\",\n      \"acceptedAnswer\": {\n        \"@type\": \"Answer\",\n        \"text\": \"du\u304c\u9045\u3044\u4e3b\u306a\u539f\u56e0\u306f\u3001\u8abf\u3079\u308b\u30d5\u30a1\u30a4\u30eb\u6570\u304c\u81a8\u5927\u3067\u3042\u308b\u3053\u3068\u3067\u3059\u3002\u89e3\u6c7a\u7b56\u3068\u3057\u3066\u30011) --max-depth=1 \u3067\u968e\u5c64\u3092\u6d45\u304f\u3057\u3066\u7d5e\u308a\u8fbc\u3080\u30012) Ctrl+C \u3067\u4e2d\u65ad\u3057\u3066\u8abf\u67fb\u7bc4\u56f2\u3092\u72ed\u3081\u3066\u518d\u5b9f\u884c\u3059\u308b\u30013) \u591c\u9593\u306a\u3069\u8ca0\u8377\u306e\u4f4e\u3044\u6642\u9593\u5e2f\u306bnice\u30b3\u30de\u30f3\u30c9\uff08nice -n 19 du -sh \/path\uff09\u3067CPU\u512a\u5148\u5ea6\u3092\u4e0b\u3052\u3066\u5b9f\u884c\u3059\u308b\u3001\u3068\u3044\u3063\u305f\u65b9\u6cd5\u304c\u3042\u308a\u307e\u3059\u3002\"\n      }\n    },\n    {\n      \"@type\": \"Question\",\n      \"name\": \"du -h \u3068 du -sh \u306f\u3069\u3046\u9055\u3044\u307e\u3059\u304b\uff1f\",\n      \"acceptedAnswer\": {\n        \"@type\": \"Answer\",\n        \"text\": \"-h \u306f\u300chuman-readable\u5f62\u5f0f\u3067\u8868\u793a\u3059\u308b\u300d\u30aa\u30d7\u30b7\u30e7\u30f3\u3067\u3001\u30b5\u30d6\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3082\u542b\u3081\u3066\u3059\u3079\u3066\u306e\u884c\u304c\u4eba\u9593\u304c\u8aad\u307f\u3084\u3059\u3044\u30b5\u30a4\u30ba\u3067\u8868\u793a\u3055\u308c\u307e\u3059\u3002-s \u306f\u300csummarize\uff08\u5408\u8a08\u306e\u307f\u8868\u793a\uff09\u300d\u30aa\u30d7\u30b7\u30e7\u30f3\u3067\u3001\u6307\u5b9a\u3057\u305f\u30d1\u30b9\u306e\u5408\u8a08\u3060\u3051\u30921\u884c\u3067\u8868\u793a\u3057\u307e\u3059\u3002-sh \u3068\u7d44\u307f\u5408\u308f\u305b\u308b\u3068\u3001\u300c\u4eba\u9593\u304c\u8aad\u307f\u3084\u3059\u3044\u5f62\u5f0f\u3067\u5408\u8a08\u306e\u307f\u8868\u793a\u300d\u306b\u306a\u308a\u307e\u3059\u3002\u300c\u3053\u306e\u30d5\u30a9\u30eb\u30c0\u306f\u5168\u90e8\u3067\u4f55GB\uff1f\u300d\u3092\u7d20\u65e9\u304f\u78ba\u8a8d\u3057\u305f\u3044\u3068\u304d\u306f du -sh \u304c\u4fbf\u5229\u3067\u3059\u3002\"\n      }\n    },\n    {\n      \"@type\": \"Question\",\n      \"name\": \"Claude Code\u3092\u4f7f\u3046\u3068du\u30b3\u30de\u30f3\u30c9\u3092\u77e5\u3089\u306a\u304f\u3066\u3082\u30b5\u30fc\u30d0\u30fc\u7ba1\u7406\u3067\u304d\u307e\u3059\u304b\uff1f\",\n      \"acceptedAnswer\": {\n        \"@type\": \"Answer\",\n        \"text\": \"\u3042\u308b\u7a0b\u5ea6\u306f\u53ef\u80fd\u3067\u3059\u3002Claude Code\u306b\u300c\/var\/log \u306e\u30c7\u30a3\u30b9\u30af\u4f7f\u7528\u91cf\u3092\u8abf\u3079\u3066\u5927\u304d\u3044\u30d5\u30a1\u30a4\u30eb\u3092\u6559\u3048\u3066\u300d\u3068\u81ea\u7136\u8a00\u8a9e\u3067\u6307\u793a\u3059\u308b\u3068\u3001\u9069\u5207\u306adu\u30b3\u30de\u30f3\u30c9\u3092\u81ea\u52d5\u5b9f\u884c\u3057\u3066\u7d50\u679c\u3092\u307e\u3068\u3081\u3066\u304f\u308c\u307e\u3059\u3002\u305f\u3060\u3057\u3001Claude Code\u304c\u63d0\u6848\u3057\u305f\u524a\u9664\u5019\u88dc\u304c\u672c\u5f53\u306b\u4e0d\u8981\u304b\u3092\u5224\u65ad\u3059\u308b\u305f\u3081\u306b\u3082\u3001du\u30b3\u30de\u30f3\u30c9\u306e\u57fa\u790e\u3092\u7406\u89e3\u3057\u3066\u304a\u304f\u3053\u3068\u3067\u3001\u3088\u308a\u5b89\u5168\u3067\u9069\u5207\u306a\u5224\u65ad\u304c\u3067\u304d\u307e\u3059\u3002\"\n      }\n    }\n  ]\n}\n<\/script>\n\n\n","protected":false},"excerpt":{"rendered":"<p>\u3053\u306e\u8a18\u4e8b\u306e\u5185\u5bb9 01du\u30b3\u30de\u30f3\u30c9\u3068\u306f\u4f55\u304b\u2015\u2015df\u3068\u306e\u9055\u3044\u3068\u4f7f\u3044\u3069\u3053\u308d 02du\u30b3\u30de\u30f3\u30c9\u306e\u57fa\u672c\u69cb\u6587\u3068\u51fa\u529b\u306e\u8aad\u307f\u65b9 03du\u30b3\u30de\u30f3\u30c9\u306e\u5168\u30aa\u30d7\u30b7\u30e7\u30f3\u4e00\u89a7\u3068\u4f7f\u3044\u65b9 04sort\u30b3\u30de\u30f3\u30c9\u3068\u7d44\u307f\u5408\u308f\u305b\u308b\u2015\u2015\u5bb9\u91cf\u5927\u304d\u3044\u9806\u306b\u4e26\u3079\u308b 05 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":18236,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"sitemap_hide":"","_veu_custom_css":"","vkexunit_cta_each_option":"","footnotes":"","rank_math_description":"Linux\u306e\u300cdu\u300d\u30b3\u30de\u30f3\u30c9\u306e\u4f7f\u3044\u65b9\u3092\u5b8c\u5168\u89e3\u8aac\u3002\u57fa\u672c\u69cb\u6587\u304b\u3089\u5168\u30aa\u30d7\u30b7\u30e7\u30f3\u30fbsort\u3084find\u3068\u306e\u7d44\u307f\u5408\u308f\u305b\u30fbMac(BSD)\u3068\u306e\u9055\u3044\u30fbPermission denied\u5bfe\u5fdc\u307e\u3067\u7db2\u7f85\u3002AI\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306e\u30b5\u30fc\u30d0\u30fc\u7ba1\u7406\u306b\u3082\u5f79\u7acb\u3064\u5b9f\u8df5\u7684\u306a\u4f7f\u3044\u65b9\u3092\u308f\u304b\u308a\u3084\u3059\u304f\u89e3\u8aac\u3057\u307e\u3059\u3002","rank_math_focus_keyword":"du \u30b3\u30de\u30f3\u30c9","rank_math_title":"\u30102026\u5e747\u6708\u6700\u65b0\u3011Linux\u30b3\u30de\u30f3\u30c9\u300cdu\u300d\u5b8c\u5168\u30ac\u30a4\u30c9\uff5c\u30c7\u30a3\u30b9\u30af\u4f7f\u7528\u91cf\u78ba\u8a8d\u30fb\u5168\u30aa\u30d7\u30b7\u30e7\u30f3\u30fbsort\/find\u7d44\u307f\u5408\u308f\u305b\u307e\u3067\u5fb9\u5e95\u89e3\u8aac","pending_rewrite_html":"","pending_rewrite_id":"","pending_rewrite_kw":"","pending_rewrite_at":"","pending_rewrite_source":"","pending_rewrite_brief":"","pending_rewrite_evidence":"","approved_rewrite_html":"","approved_rewrite_id":"","approved_rewrite_kw":"","approved_rewrite_at":"","approved_rewrite_by":"","approved_rewrite_brief":"","approved_rewrite_evidence":"","rewrite_tracker_baseline":"","rewrite_tracker_7day":"","rewrite_tracker_14day":"","rewrite_tracker_30day":"","rewrite_tracker_notified":""},"categories":[3],"tags":[],"class_list":["post-18237","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-ai-automation"],"_links":{"self":[{"href":"https:\/\/genai-ai.co.jp\/ai-kanri\/wp-json\/wp\/v2\/posts\/18237","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/genai-ai.co.jp\/ai-kanri\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/genai-ai.co.jp\/ai-kanri\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/genai-ai.co.jp\/ai-kanri\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/genai-ai.co.jp\/ai-kanri\/wp-json\/wp\/v2\/comments?post=18237"}],"version-history":[{"count":1,"href":"https:\/\/genai-ai.co.jp\/ai-kanri\/wp-json\/wp\/v2\/posts\/18237\/revisions"}],"predecessor-version":[{"id":18238,"href":"https:\/\/genai-ai.co.jp\/ai-kanri\/wp-json\/wp\/v2\/posts\/18237\/revisions\/18238"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/genai-ai.co.jp\/ai-kanri\/wp-json\/wp\/v2\/media\/18236"}],"wp:attachment":[{"href":"https:\/\/genai-ai.co.jp\/ai-kanri\/wp-json\/wp\/v2\/media?parent=18237"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/genai-ai.co.jp\/ai-kanri\/wp-json\/wp\/v2\/categories?post=18237"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/genai-ai.co.jp\/ai-kanri\/wp-json\/wp\/v2\/tags?post=18237"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}