Article 5T43Q du command

du command

by
centguy
from LinuxQuestions.org on (#5T43Q)
alias dus='du -ks `/bin/ls -1` | sort -t : -k 1n'

On system1:

$ dus
905728SQS-new-binary
905984stratus-zero-copy2

On system2:
$ dus
427672stratus-zero
427724stratus-zero-copy2

Nothing seems wrong. I copied SQS-new-binary from system1 to stratus-zero-copy2 in system2.
I was worried that I am losing files. So I copied stratus-zero-copy2 from system1 back to system2.
Now, the file size increases from 427724 to 905984.

Why such difference in what du reports in both systems?latest?d=yIl2AUoC8zA latest?i=mfMrDwOWanc:rEyU8U1FfZA:F7zBnMy latest?i=mfMrDwOWanc:rEyU8U1FfZA:V_sGLiP latest?d=qj6IDK7rITs latest?i=mfMrDwOWanc:rEyU8U1FfZA:gIN9vFw
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments