Every once in a while I have to list some files (~20-50) in Bash on Linux || Mac.
These files are from four different file types.
ls nand2tetris/myChips/
And16.**hdl** And16.**cmp** And16.**tst** And16.**out**
....
Is it possible to colorize every file type in a different color, without changing the formatting? I still want to have the standard ls
multi column, multi row output, not the kind of formatting that ls -l
presents.
If the solution to the problem is a different technique from distribution to distribution, it would be nice to collect as many solutions as possible in this thread.