November 2015
Beginner
282 pages
5h 5m
English
Configuration or config files are regular files that contain settings for an application. During the initial stage of execution, many applications in Linux and UNIX read settings from config file(s) and configure the application accordingly.
Configuration files are generally present in the /etc/ directory and can be viewed using the cat command.
For example, consider viewing the resolv.conf config file:
$ cat /etc/resolv.conf
# Generated by NetworkManager search WirelessAP nameserver 192.168.1.1
The resolv.conf file contains the order in which to contact DNS servers.
We can also modify a configuration file to meet our requirements. For example, we can add another DNS entry in the /etc/resolv.conf ...
Read now
Unlock full access