du command is used to estimate file space usage.
Sometime we need to exclude some folder or files while running du command.
For that we can use below option to achieve that.
[root@testserver /]# du -sh * --exclude=repository --exclude=oem1
The above command will exclude the repository & oem folder under / path.
Hope it helps.
Sometime we need to exclude some folder or files while running du command.
For that we can use below option to achieve that.
[root@testserver /]# du -sh * --exclude=repository --exclude=oem1
The above command will exclude the repository & oem folder under / path.
Hope it helps.