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.
带有一些注释的代码:http: //pastebin.com/nrXayHx5
我在很多文件和目录上重复执行命令“du”,它适用于我的很多输入,但是有一个特定的目录没有,我检查了它是哪个目录,并且字符串格式正确。我注意到使用该目录执行 du 的输出特别长,这可能是 execvp 不返回的原因吗?也许管道已满?
我很感激任何帮助。谢谢你。