Closed i4ki closed 7 years ago
-l (to list by line) -h (human, because well...Im human :-)
same here.
but, -h only makes sense with -l and is only used to print human-readable sizes (1k, 1M, 1G, etc) ... then maybe we can default the -l to "human"..
Then, our ls -l
could output files by line printing human-readable sizes.
The most useful feature of ls must be being sane and safe for scripts... ls
without arguments must output files/dirs separated by spaces and quote filenames containing spaces.
λ> touch "filename with spaces"
λ> ls
build-image.sh dev.json dev.sh Dockerfile 'filename with spaces' Makefile README.md tmp
makes sense for me, I have no use for sizes in bytes when I'm using ls
@katcipis don't use size in bytes to do math training? nhaa!
I'm terrible with math :-(
must show hidden files by default
we can add an option (-n ?) to not show hidden files..
I'm not sure if I like hidden files to not show, would do it later only if necessary
Agreed. It's good to always see the hidden garbage..
Then the only parameter required is "-l" ?
@cadicallegari
Closed by #19
Guys, what common parameters you use with "ls" program?