9
rated 0 times
[
9]
[
0]
/ answers: 1 / hits: 3385
/ 3 Years ago, sat, august 14, 2021, 11:31:19
I have a couple files and ls
sorts them like this:
a
_b
c
but I want to have
_b
a
c
How can I do that?
More From » ls
I have a couple files and ls
sorts them like this:
a
_b
c
but I want to have
_b
a
c
How can I do that?
As a one-off command you can do this:
LC_COLLATE=C ls
Or you can add export LC_COLLATE="C"
to your .bashrc to make it permanent (may have unexpected results sorting elsewhere).
More information on Ubuntu forums.