Forum     

Go Back   Digit Technology Discussion Forum > Portables, Peripherals and Electronics > QnA (read only)
Register FAQ Calendar Mark Forums Read

QnA (read only) Mods please help transfer the contents of this forum to proper sections. :)

 
 
LinkBack Thread Tools Search this Thread Display Modes
Old 19-08-2004, 05:27 PM   #1 (permalink)
Apprentice
 
Join Date: Jun 2004
Location: Gujarat
Posts: 55
Default Where is the OS directory?

In windows we have "Windows" as the operating system folder, where is that in Linux? If it's not a single directory, then which are the important folders?
jnpandya is offline  
Advertisements. Register and be a member of the community to get rid of them.
Advertisement

Old 19-08-2004, 05:32 PM   #2 (permalink)
FooBar Guy
 
GNUrag's Avatar
 
Join Date: Jun 2004
Location: GNUmbai
Posts: 1,245
Default

The GNU/Linux Operating system does not use a single folder as a dump ground Here is a list of various directories and their contents...
/boot : the linux kernel and boot loader configuration files
/usr : Program files
/etc : Configuration files
/var : Mail, print web spool files
/tmp : temp directory
/home : Home directories of various users
/dev : Device files corresponding to various peripherals of your comp. (hard disk, printer, mouse, modem)
/mnt : Devices mounted onto OS to increase storage space
/lost+found : Orphan files are moved here
/root : Root's home directory
/proc : Process information pseudo filesystem.
/bin : various console utilities and apps
/sbin : system administration utilities
/lib : Shared Library files for your operating system.

Apart from these, you also have a swap partition that stores data swapped by the linux kernel.


As you can see, /etc is roughly equivalent to your windows registry. /usr can be called as Program Files directory... /boot & /lib can be called as \Windows\System32 directory. Contents of /mnt can be thought of as various drives in windows.
__________________
- --
http://www.MovieAB.com - A tiny movie mashup!
GNUrag is offline  
Old 20-08-2004, 11:03 PM   #3 (permalink)
Apprentice
 
Join Date: Aug 2004
Location: Bangalore
Posts: 77
Default

phew...neat reply. Learnt 50% of linux here
sUlPhUr|nE` is offline  
Old 21-08-2004, 07:37 AM   #4 (permalink)
Alpha Geek
 
cooljeba's Avatar
 
Join Date: Jun 2004
Location: On Your monitor!
Posts: 560
Default

me 2
Thanks GNUrag
..:: peace ::..
Jeba
__________________
India's answer to Imageshack
cooljeba is offline  
Old 21-08-2004, 10:17 AM   #5 (permalink)
Apprentice
 
Join Date: Jun 2004
Location: Gujarat
Posts: 55
Default

Thanks a lot GNUrag!

Actually yours was the fastest answer I have ever got on this forum! Check out the time of the both the posts. When I saw the it first, it was not this much elaborate though it was good enough to understand the structure of the OS. Then I think you might have updated it.

Could not respond as quickly as you due to down internet link. But any way, thanks again for the details.
jnpandya is offline  
Old 22-08-2004, 03:08 PM   #6 (permalink)
FooBar Guy
 
GNUrag's Avatar
 
Join Date: Jun 2004
Location: GNUmbai
Posts: 1,245
Default

Quote:
Originally Posted by jnpandya
When I saw the it first, it was not this much elaborate though it was good enough to understand the structure of the OS. Then I think you might have updated it.
Yeah... i'd written only answer for what u asked... but later i added info for other directories...

Do you want to know more about Linux filesystems and its associated directories??? I'll add more...
__________________
- --
http://www.MovieAB.com - A tiny movie mashup!
GNUrag is offline  
Old 26-08-2004, 12:52 PM   #7 (permalink)
Jai Suresh
 
lywyre's Avatar
 
Join Date: Aug 2004
Location: Vellore, TN
Posts: 578
Default

gr8 m8
lywyre is offline  
Old 26-08-2004, 01:01 PM   #8 (permalink)
Jai Suresh
 
lywyre's Avatar
 
Join Date: Aug 2004
Location: Vellore, TN
Posts: 578
Default

Quote:
Originally Posted by GNUrag
The GNU/Linux Operating system does not use a single folder as a dump ground Here is a list of various directories and their contents...
/boot : the linux kernel and boot loader configuration files
/usr : Program files
/etc : Configuration files
/var : Mail, print web spool files
/tmp : temp directory
/home : Home directories of various users
/dev : Device files corresponding to various peripherals of your comp. (hard disk, printer, mouse, modem)
/mnt : Devices mounted onto OS to increase storage space
/lost+found : Orphan files are moved here
/root : Root's home directory
/proc : Process information pseudo filesystem.
/bin : various console utilities and apps
/sbin : system administration utilities
/lib : Shared Library files for your operating system.

Apart from these, you also have a swap partition that stores data swapped by the linux kernel.


As you can see, /etc is roughly equivalent to your windows registry. /usr can be called as Program Files directory... /boot & /lib can be called as \Windows\System32 directory. Contents of /mnt can be thought of as various drives in windows.
----------
gr8 m8


--------------------------------------------------------------------------------------
lywyre is offline  
Old 26-08-2004, 11:21 PM   #9 (permalink)
Broken In
 
lavan_joy's Avatar
 
Join Date: Jan 2004
Location: In your heart
Posts: 144
Default

great post man.thanks for the information
__________________
LAZINESS IS THE ENEMEY OF SUCCESS
lavan_joy is offline  
 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +5.5. The time now is 10:45 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.

Search Engine Optimization by vBSEO 3.3.2