ls how to show folders first

For a long time with Linux and Windows i gathered enough notes, which, perhaps, might be usefull for some people.

There are times when we need that ls show folders first, then files. Let’s see how it can be done.

ls -1 --color -h --group-directories-first

‐1 – list one file per line
‐‐color – colorize the output
‐‐group‐directories‐first – group directories before files


sources of information
source visit date
unix-ls-how-to-sort-first-directories-then-files-etc 2015.08.11