2
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?
2
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?
0
The question asks how to get ls on Cygwin to show the file size in bytes. To do this you must set the block size to 1 (one).
ls -l --block-size=1
0
Try this :
ls -s --block-size=1k
and
ls -s --block-size=8k
Resource : http://cygwin.com/ml/cygwin/2006-01/msg01189.html
1And 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 – 2012-11-28T00:37:43.387
1
First of all, welcome to Super User! We are always glad to help, but you apparently have two Super User accounts: this one and this one. Please take the time to utilize the following Help Center tutorial and ask the Super User staff to merge your accounts: I accidentally created two accounts; how do I merge them?
– Run5k – 2019-07-12T12:16:41.960