Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如何获得按顺序排列的目录大小,如d1 d2 d3 d4到d100我想使用du -sh命令检查 d50 到 d100 的大小
du -sh d{50..100}
{50..100}将扩展为 50 51...100
{50..100}
测试:
$du -sh asd{41..43} 4.0K asd41 4.0K asd42 4.0K asd43