Webdu -cBM --max-depth=1 2>/dev/null sort -n or better in bash (just filter out this particular error, not all like last snippet) du -cBM --max-depth=1 2> > (grep -v 'Permission denied') sort -n Share Improve this answer Follow edited Jun 9, 2016 at 18:53 answered Feb 28, 2013 at 17:38 MevatlaveKraspek 2,206 3 19 22 WebJun 23, 2024 · There is no option -maxdepth 0 in AIX for that. I've heard about -prune, but still can't get how it works. I guess the command should look something like find dir \ ( ! -name dir -prune -type f \) -a -name filemask but it doesn't work. Could you please write a correct command for me and explain how it will work? UPD It seems command
du which counts number of files/directories rather than size
WebFeb 27, 2024 · To recursively get all subdirectories of /var/, you can use sudo du /var/ -h. Or you can pass a number to the --max-depth that you're sure is greater than or equal to the max level of subdirectory depth: sudo du /var/ -h --max-depth=999. The second option is more of a workaround rather than the most efficient way. Web6 hours ago · However, after that, the depth is lacking talent inside and out. George Paton values the cornerback position almost more than any other on the field, so adding a … how is ssn payout calculated
linux - du -h --max-depth=1 takes long time - Stack Overflow
Web2 days ago · Survivors - IN The Depth Pfeiffer, Boris E Tobschall, Theresa Book - show original title Be the first to write a review. Condition: Brand New Quantity: 2 available Price: EUR 27.39 ApproximatelyUS $30.07 Buy It Now Add to cart Add to Watchlist Breathe easy. Returns accepted. Shipping: EUR 29.00 (approx US $31.83)Spedizione internazionale … WebNov 6, 2024 · Examples. du -s *.txt. Reports the size of each file in the current directory with the extension .txt. Below is an example of the output: 8 file1.txt 8 file2.txt 10 file3.txt 2 … linux command explain du -h --max-depth=1 [closed] Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers. This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. how is ss payment determined