0

du command : how to skip a directory

how can i use the skip option (for a particular directory) while i reading size of some directoire, i use du command to check the size of a directory

du command Linux Add a comment
gibbson
asked Jan 18 2018

Answer

0

run the below command to exclude a file or directory

du -sh --exclude=file_name
Add a comment
parthiban
asked Jan 22 2018
edited Oct 05 2018
Post your Answer