LinuxQuestions.org
Visit Jeremy's Blog.
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 01-14-2011, 02:13 PM   #1
zensunni
Member
 
Registered: Feb 2008
Posts: 45

Rep: Reputation: 0
Linux equivalents to windows directories


I'm looking for a decent comparison chart for linux equivalents to windows' system directory.

I know that it's not a one-to-one scenario. Many linux folders house much more than it's windows equivalent and vice versa.

But, there are many folders that should have relatively the same purpose.

Does such a beast exist? I've turned up nothing on google.
 
Old 01-14-2011, 02:30 PM   #2
paulsm4
LQ Guru
 
Registered: Mar 2004
Distribution: SusE 8.2
Posts: 5,863
Blog Entries: 1

Rep: Reputation: Disabled
Hi -

There are standard conventions (rules? guidelines?) for Linux system directories.

For example:

http://en.wikipedia.org/wiki/Filesys...archy_Standard

http://www.pathname.com/fhs/pub/fhs-2.3.html

'Hope that helps .. PSM
 
Old 01-14-2011, 02:35 PM   #3
pljvaldez
LQ Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094

Rep: Reputation: 271Reputation: 271Reputation: 271
I don't think there's a good one to one at all (by design). Here's a link that explains the linux folders and you can try to create your own map.
 
Old 01-14-2011, 04:26 PM   #4
jefro
Moderator
 
Registered: Mar 2008
Posts: 15,374

Rep: Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198
The only difference I know of is the way the user is presented with the directory structure.

Or do you mean something like /system32 relates to /bin sort of question?
 
Old 01-14-2011, 05:42 PM   #5
frieza
Senior Member
 
Registered: Feb 2002
Location: harvard, il
Distribution: Ubuntu 11.4,DD-WRT micro plus ssh,lfs-6.6,Fedora 15,Fedora 16
Posts: 3,200

Rep: Reputation: 397Reputation: 397Reputation: 397Reputation: 397
Linux system directories tend to be similar to UNIX

directories that can be said to be similar to windows

/etc (default/global,configurations, kind of like the HKEY_LOCAL_MACHINE registry hive)
/lib, /usr/lib, /usr/local/lib - libraries (equivalent of the dlls in system and system32
/bin, /usr/bin, /usr/local/bin - installed binaries (equivalent of program files)
/sbin, /usr/sbin, /usr/local/sbin - administrative binaries (sort of like the applications in system32)
/home, similar to 'documents and settings'

not a complete list but what i could think of off hand
 
1 members found this post helpful.
Old 01-14-2011, 10:14 PM   #6
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Debian, Mint, OpenBSD
Posts: 11,342
Blog Entries: 12

Rep: Reputation: 2730Reputation: 2730Reputation: 2730Reputation: 2730Reputation: 2730Reputation: 2730Reputation: 2730Reputation: 2730Reputation: 2730Reputation: 2730Reputation: 2730
Quote:
Originally Posted by zensunni View Post
Many linux folders house much more than it's windows equivalent and vice versa.

But, there are many folders that should have relatively the same purpose.
Nothing even close.

In Windows, the system information is all in C:\Documents and Settings and in C:\Windows.

In Linux, the /home/[user name] directories are roughly equivalent to C:\Documents and Settings\[user name].

Executable files are in /usr/bin and /usr/local/bin and sometimes /opt. Libraries (sort of like DLLs) and files shared among applications are in /usr/lib and /usr/share.

Logs and temporary files are in /var.

Configuration scripts and boot scripts are in /etc.

Devices are in /dev and mountpoints for those devices are in /mnt or /media.

And so on.

For day to day use, users are most likely to have to deal with /home, /etc (to change configuration settings), and /usr. They may also have to manipulate /media or /mnt to create mountpoints for new devices or edit fstab.

The Slackbook has a good summary of the Linux file structure:

http://www.slackbook.org/html/book.h...URATION-LAYOUT
 
Old 01-15-2011, 09:21 AM   #7
MTK358
LQ 5k Club
 
Registered: Sep 2009
Posts: 6,443
Blog Entries: 3

Rep: Reputation: 720Reputation: 720Reputation: 720Reputation: 720Reputation: 720Reputation: 720Reputation: 720
Quote:
Originally Posted by zensunni View Post
I'm looking for a decent comparison chart for linux equivalents to windows' system directory.

I know that it's not a one-to-one scenario. Many linux folders house much more than it's windows equivalent and vice versa.

But, there are many folders that should have relatively the same purpose.

Does such a beast exist? I've turned up nothing on google.
It's so different, that you can't really do a comparison like that.

For example, programs in Linux are not stored in one directory. Different parts of it are stored in completely different hierarchies!
 
Old 01-15-2011, 10:18 AM   #8
teebones
Member
 
Registered: Aug 2005
Location: /home/teebones
Distribution: sometimes this, sometimes that..
Posts: 502

Rep: Reputation: 56
Quote:
Originally Posted by frieza View Post
Linux system directories tend to be similar to UNIX

directories that can be said to be similar to windows

/etc (default/global,configurations, kind of like the HKEY_LOCAL_MACHINE registry hive)
/lib, /usr/lib, /usr/local/lib - libraries (equivalent of the dlls in system and system32
/bin, /usr/bin, /usr/local/bin - installed binaries (equivalent of program files)
/sbin, /usr/sbin, /usr/local/sbin - administrative binaries (sort of like the applications in system32)
/home, similar to 'documents and settings'

not a complete list but what i could think of off hand
I was thinking about the answer, but this is nice, couldn't have done better!
closest answer to the question of the OP.
(i'll give you a vote)

Last edited by teebones; 01-15-2011 at 10:19 AM.
 
Old 01-15-2011, 11:49 AM   #9
frieza
Senior Member
 
Registered: Feb 2002
Location: harvard, il
Distribution: Ubuntu 11.4,DD-WRT micro plus ssh,lfs-6.6,Fedora 15,Fedora 16
Posts: 3,200

Rep: Reputation: 397Reputation: 397Reputation: 397Reputation: 397
why thank you

oh, and unlike windows, Linux doesn't put games in any of the sbin directories (e.g. solitaire, pinball,minesweeper and hearts), nothing against bundling games with an OS but games belong in the 'program files' directory no matter how you slice it, that and its nearly impossible to erase those default games especially in windows XP since they are restored automatically from a backup copy elsewhere in the windows directory that is protected from all but a deliberate attempt to remove them or change them

one more thought I had after posting was that the .directories/files (hidden files) in user's home directories could be compared in some ways to a mish of the HKEY_CURRENT_USER registry hive and the hidden 'application data' folder in 'documents and settings\{user}'

also, /usr/share and /usr/local/share have some other components that would be found in \windows \windows\system or \windows\system32 (icons, some data files, scree saver data etc..)

Last edited by frieza; 01-15-2011 at 01:43 PM.
 
Old 01-15-2011, 08:32 PM   #10
paulsm4
LQ Guru
 
Registered: Mar 2004
Distribution: SusE 8.2
Posts: 5,863
Blog Entries: 1

Rep: Reputation: Disabled
Hi -
Quote:
I was thinking about the answer, but this is nice, couldn't have done better!
No - the "closest answers" were the (multiple citations) to the "Filesystem Hierarchy Standard" (FHS).

Windows is a hodgepodge. Think ".ini files" vs "registry". Or "registry vs. side by side" (application manifests). Or "\Documents and Settings" vs "\Users". How about "\windows" vs "windows\system32" vs "\winnt" vs "windows\system32" again?

Last edited by paulsm4; 01-15-2011 at 08:33 PM.
 
Old 01-16-2011, 04:36 AM   #11
dvdljns
Member
 
Registered: Sep 2003
Posts: 210

Rep: Reputation: 30
Quote:
Originally Posted by paulsm4 View Post
Hi -

No - the "closest answers" were the (multiple citations) to the "Filesystem Hierarchy Standard" (FHS).

Windows is a hodgepodge. Think ".ini files" vs "registry". Or "registry vs. side by side" (application manifests). Or "\Documents and Settings" vs "\Users". How about "\windows" vs "windows\system32" vs "\winnt" vs "windows\system32" again?
There is no simalarity between windows and linux. I have used windows since 101 and a dos shell before that. Windows is setup in a logical o9rder but linux doe not seem that simalar even comaring linux distros.That is why the advise to pick one linux flavor and use that is probly some of the best advise tha can be given. but if you ever do manage to create some type of map. please post it. heck if you even do it with linux flavors, that would help diehard windows users like me.
 
Old 01-16-2011, 05:03 AM   #12
ashish_neekhra
Member
 
Registered: Nov 2007
Posts: 67

Rep: Reputation: 4
To know more about Linux Filesystem architecture you can go through with these two links,

1. Important RHEL Directories & their usage
2. Important configuration files in RHEL

Hope it'll help you,
 
Old 01-16-2011, 05:31 AM   #13
dvdljns
Member
 
Registered: Sep 2003
Posts: 210

Rep: Reputation: 30
thanks I will download it and check it out. Everything helps.
 
  


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
LXer: Linux Migration Guide: Finding Linux Equivalents to Your Favorite Windows Progr LXer Syndicated Linux News 0 07-02-2009 11:30 AM
Needing some linux equivalents in windows, any ideas? gohmifune General 6 11-07-2007 07:48 PM
Linux equivalents for Windows stomfi Linux - General 5 09-04-2007 05:02 PM
The table of equivalents / replacements / analogs of Windows software in Linux. rob.rice Linux - Software 2 05-09-2007 03:47 PM
Table of Equivalents: Windows & Linux Apps Compari Beetle B. Linux - Software 2 05-29-2005 04:27 PM


All times are GMT -5. The time now is 12:50 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