List directory contents

Last update in 1/2020

To view contents of directory you can use ls. Default output of ls may not be informative enough so you can use following flags:

Flags can be combined, for example ls -la to show hidden files and more info.

But output is still monotone and boring. To add colors you can pass --color=auto on Linux or -G on MacOS. On mac you can also add this environment variable to shell configuration file to always show colors.

export CLICOLOR=1