For example, you can use ls in combination with du to determine the disk usage of different directories with the command shown in Listing 5.
例如,使用清单5中的命令,您可以将ls与du组合使用,以确定不同目录的磁盘使用情况。
To find the disk space being used by a single user, you need to combine du with the find command to only report disk usage for a specific user.
要查找某个用户所使用的磁盘空间,在使用find命令的同时,您需要结合使用du命令以仅报告特定用户的磁盘使用情况。
Then, for each found path, the du command is executed to report the disk usage.
然后,对于查找到的每个路径,执行du命令以报告磁盘使用情况。
应用推荐