Hey everyone, welcome back
to this video.
So the next directory that we are going to see is
slash Etc. Now this is
a very very important directory for
any Linux operating system. Why because
this contains configuration files which
are required by the system to run.
Now this EDC directory contains the configuration
files, which can generally be edited by
hand in any text editor of your choice that
can be either Vim or Nano.
One thing that you should note over here that the
ATC directory contains system-wide configuration
files that are required by
the system and users can also modify
and edit those specific configuration
files according to their needs.
So each configuration file is located in
each user's home directory as well or in
case you install any programs into this computer, the
configuration files lies into
those directories. For example, if you
install Apache to web server, the configuration file
will lie into slash Etc
slash Apache to slash apache.com.
So I hope you guys understood why Etc
is used. So let's jump on to the Practical time.
And let's see this in action. I'm on
to my terminal and let me just navigate quickly to the
ETC directory and you can see I am into
the directory, which is EDC with the help of the command. That
is PWD. Let me just hit LS and you
can see all the system level commands are
over here. For instance. You can see past WD
or maybe you can see user ad
command as well here. You can see vs.
Ftpd.com which is the configuration file
for FTP Service that is
being running into this computer. Let me also show you
ntp.com, which is the network time protocol
configuration file, which has been installed into this
computer.
Similarly, you can find sudo as file user
add Etc.
So I hope you guys understood the system level commands that
you run into your computer. The configuration file
lies into the EDC directory, hence. It
is considered to be very important and one note
that you should not edit or delete
any system level configuration files over here
so that you do not mess up anything into the
system. So I hope you guys understood. Thank you.