Search Results

Search: Posts Made By: Newuzer
17,236
Posted By junior-helper
paste -d' ' \ <(du -hs * | awk -F'\t' '{printf...
paste -d' ' \
<(du -hs * | awk -F'\t' '{printf "%8s\n", $1}') \
<(ls -lh | awk 'NR>1{for (i=6;i<=NF;i++) printf "%s ", $i; print ""}')The paste command lets the two input streams merge.

<(du -hs...
17,236
Posted By Don Cragun
The ls output is showing the size of the files...
The ls output is showing the size of the files listed (note that a directory is just one type of a file).

The du -hs output is showing the sizes of the blocks allocated to the file and (when the...
Showing results 1 to 2 of 2

 
All times are GMT -4. The time now is 01:32 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy