Tagged Questions
5
votes
1answer
105 views
Alphabetizing names in `ls` alias with .files not intermingled
I am currently using the following ls alias: alias ls='ls -alhGkpsq --color=auto'. This results in following directory listing.
[03:35] bryson@brys ~ :$ ls
total 48K
4.0K drwx------ 4 bryson 4.0K ...
5
votes
2answers
654 views
Output ls -l size field with digits grouped by thousands?
It is possible to make ls -l output the size field with digits grouped by thousands? If so, how?
For instance:
$ ls -l
-rw-rw---- 1 dahl dahl 43,210,052 2012-01-01 21:52 test.py
(Note the commas ...
6
votes
4answers
2k views
How do I make ls sort underscore characters first?
I like being able to name files and directories with an underscore prefix if it's something I want to keep separate from other files and directories at the same level. On Windows and Mac, for example, ...