Sign up ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

How can I configure cygwin to show file size in bytes when I do 'ls -l'?

I get size in bytes under ubuntu, but not in cygwin.

how can i fix it?

share|improve this question

1 Answer 1

Try this :

ls -s --block-size=1k


ls -s --block-size=8k

Resource :

share|improve this answer
And to make it work all the time, add in ~/.bashrc alias ls='ls -s --blocksize=1k' and then it will always work (after log out/back in that is) – Justin Nov 28 '12 at 0:37

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.