Linux dircolors Command

In this tutorial we learn how to use dircolors commmand in Linux. dircolors command is dircolors - color setup for ls

What is Linux dircolors Command?

In this tutorial we learn how to use dircolors command in Linux. dircolors command is dircolors - color setup for ls

dircolors Syntax

       dircolors [OPTION]... [FILE]

dircolors Examples

dircolors Command Manual / Help

We can use man and info command to see the manual page of dircolors command.

dircolors command also have --help option to show list of options.

To open man page for dircolors command we can use command below. To exit man or info page you can press q.

man dircolors

To open info page for dircolors command we can use command below.

info dircolors

To open help page from dircolors command we can run command below.

dircolors --help

Linux dircolors Command Source Code

You can find dircolors command source code from the folowing repositories:

You can read tutorials of related Linux commands below:

Summary

In this tutorial we learn how to use dircolors in Linux with practical examples. Visit our Linux Commands guide to learn more about using command line interface in Linux.