I read about --blocksize
for ls
to get a thousands separator.
However my computer gives me dot (.
) and not comma (,
):
$ ls -l --block-size="'1"
total 11.893.190.656
-rw------- 1 carlah users 1.081.192.448 Apr 16 2013 D1.vdi
-rw-rw-r-- 1 carlah users 37 Apr 3 2012 interface.txt
-rw------- 1 carlah users 86.052.864 Apr 16 2012 D2.vdi
drwx------ 2 carlah users 4.096 Apr 16 2012 Snapshots/
-rw------- 1 carlah users 10.725.925.376 Apr 16 2012 Vista.vdi
I tried LC_NUMERIC=en_US ls -l --block-size="'1"
to change that but that did just remove the dots not turn them into commas. Am I doing something wrong?
You should look at your settings with:
echo $LC_NUMERIC
and then try something like what you have there, like:
LC_NUMERIC="en_US.UTF-8" ls -l --block-size="'1"
Collected from the Internet
Please contact [email protected] to delete if infringement.
Comments