LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-06-2014, 07:03 PM   #1
AlexBB
Member
 
Registered: Mar 2014
Posts: 433

Rep: Reputation: Disabled
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
 
Old 03-06-2014, 07:14 PM   #2
camorri
LQ Guru
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 14.1, 14.2
Posts: 5,090

Rep: Reputation: 483Reputation: 483Reputation: 483Reputation: 483Reputation: 483
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.
 
Old 03-06-2014, 07:16 PM   #3
AlexBB
Member
 
Registered: Mar 2014
Posts: 433

Original Poster
Rep: Reputation: Disabled
Thank you, camorri. But the backup is done by the VirtualBox, actually.

Last edited by AlexBB; 03-06-2014 at 07:17 PM.
 
Old 03-07-2014, 01:18 AM   #4
camorri
LQ Guru
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 14.1, 14.2
Posts: 5,090

Rep: Reputation: 483Reputation: 483Reputation: 483Reputation: 483Reputation: 483
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.
 
Old 03-09-2014, 05:15 PM   #5
AlexBB
Member
 
Registered: Mar 2014
Posts: 433

Original Poster
Rep: Reputation: Disabled
Again, thank you, camorri. It is very helpful.
 
Old 03-09-2014, 06:19 PM   #6
camorri
LQ Guru
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 14.1, 14.2
Posts: 5,090

Rep: Reputation: 483Reputation: 483Reputation: 483Reputation: 483Reputation: 483
You are welcome.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
automake, makefile.am, binary directory, both 32 bit and 64 bit executables? MrUmunhum Linux - Kernel 0 12-26-2011 05:47 PM
meaning of 8/16 bit system avee137 Linux - Embedded & Single-board computer 3 10-02-2010 09:49 AM
meaning of 8/16 bit system avee137 Linux - Hardware 1 09-16-2010 09:49 PM
what is the meaning of /lib/tls directory? voger Fedora 2 11-25-2005 06:56 PM


All times are GMT -5. The time now is 10:12 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration