I would like to list the content of a directory, 1 line per entry, with only the files names and the files sizes.
ls -l
shows too much information.
ls -1 -s
doesn't show a file's size but its allocation (--block-size=1 doesn't change that)
I cannot find a command line argument that makes ls do what I want... is there one?
If not, what would be a good, short and robust solution to make that kind of listing?