Location of ini config files in linux unix

0 votes

Two questions, really:

  1. Is there a standard/convention regarding the placement on configuration files?

    For system or quasi-system programs they seem to usually be somewhere in /etc. It seems less clear for plain application programs or programs with insufficient privileges for /etc.

  2. In processing program options is there a standard hierarchy of what takes precedence? E.g. does a command line option override an initialization file and/or an environment variable? Vice versa? Or is this entirely up to the developer?

Apr 25, 2022 in Linux Administration by Edureka
• 13,690 points
445 views

No answer to this question. Be the first to respond.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
0 votes
To modify a Linux configuration file, all you have to do is locate it and open it with a text editor. The great majority of Linux configuration files keep their configuration data in plain text, so all an administrator needs to do to update the settings is change the contents and save the file. The process can be done with a variety of text editors, and it usually boils down to personal preference. The /etc/ directory or a subdirectory contains the vast majority of Linux configuration files.

The command line will be used to edit these configuration files the majority of the time, so get familiar with apps like Nano or Vi.

What is the Network-scripts Config File and How Do I Configure It?
In Linux, there are two ways to edit network interface configurations:

Command-line environment
Both REHL (and CentOS) and Ubuntu have graphical editors for these configuration files. Depending on whose graphical interface you're using, those graphical utilities will be accessed in a different method.

However, these options are usually accessible in the networking area of the system preferences or the utility section. Each interface available in the system will be listed in the networking settings. Most of the parameters discussed above will be accessible when editing these networking interfaces.
answered Apr 27, 2022 by Edureka
• 13,690 points

edited Mar 5

Related Questions In Linux Administration

0 votes
1 answer

generating a list of files with their absolute path in Linux

If you find an absolute path to start with, ...READ MORE

answered May 16, 2019 in Linux Administration by Upasana
• 8,620 points
1,530 views
0 votes
2 answers

How do I find all files containing specific text and rename in unix/linux

Hi, @Kal You can use this command below to ...READ MORE

answered Jul 2, 2019 in Linux Administration by Gitika
• 65,770 points

edited Jul 2, 2019 by Gitika 3,015 views
0 votes
0 answers

How do I copy folder with files to another folder in Unix/Linux?

I am having some issues copying a ...READ MORE

Apr 13, 2022 in Linux Administration by Soham
• 9,710 points
456 views
0 votes
0 answers

How do I copy folder with files to another folder in Unix/Linux?

I am having some issues to copy ...READ MORE

Apr 21, 2022 in Linux Administration by Edureka
• 13,690 points
482 views
0 votes
1 answer

How to change permissions of folder and files in folder?

The chmod command is used to set/change the permissions ...READ MORE

answered Feb 1, 2019 in Linux Administration by Omkar
• 69,220 points
2,126 views
0 votes
1 answer

Finding pat of afile in linux

You can use readlink command: readlink -f filename.txt READ MORE

answered Mar 15, 2019 in Linux Administration by DareDev
• 6,890 points
1,096 views
0 votes
1 answer

How to find path of software installed in Linux?

There are multiple ways to find the ...READ MORE

answered May 20, 2019 in Linux Administration by Rishi
8,699 views
0 votes
2 answers

activation of network connection failed in Linux.

नेटवर्क कनेक्शन चाहिए READ MORE

answered Aug 18, 2020 in Linux Administration by anonymous
• 140 points
17,717 views
0 votes
1 answer
0 votes
1 answer

How to check permissions of a folder in the Linux system?

Hi@akhtar, You can use ls command to check ...READ MORE

answered Aug 13, 2020 in Linux Administration by MD
• 95,460 points
10,191 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP