LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   The meaning of etc directory in Ubuntu 32 bit (https://www.linuxquestions.org/questions/linux-newbie-8/the-meaning-of-etc-directory-in-ubuntu-32-bit-4175497315/)

AlexBB 03-06-2014 06:03 PM

The meaning of etc directory in Ubuntu 32 bit
 
I've installed Ubuntu 32 bit as a VM under Oracle VirtualBox. This massive directory (etc) was preset, so I assume it holds some commands or API's important for the OS. What are they?

Thanks, - AlexBB

camorri 03-06-2014 06:14 PM

That directory is where most system configuration is stored.

The /bin and /sbin directories are where you find the system executable files.

The /etc is a directory you should back up before you upgrade or re-install a system.

AlexBB 03-06-2014 06:16 PM

Thank you, camorri. But the backup is done by the VirtualBox, actually.

camorri 03-07-2014 12:18 AM

Quote:

But the backup is done by the VirtualBox
If you re-install, new instantiation, or upgrade, your config files are in /etc. What you need after the fact, is access to your config files. It makes it a much easier task to copy your working configs, to the new installation, rather than having to re-edit the default files, to make a working installation. Its up to you how you back things up. Just make sure you can access files such as /etc/fstab ( just an example ) from your backup.

FWIW, I usually make a copy of /etc, store it in my /home/user/ directory, upgrade, and I do not format my /home partition. Then the old config files are easily available.

Don't want to make a big deal out of this, but you do have to think ahead.

AlexBB 03-09-2014 04:15 PM

Again, thank you, camorri. It is very helpful.

camorri 03-09-2014 05:19 PM

You are welcome.


All times are GMT -5. The time now is 02:23 AM.