LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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 11-08-2006, 02:10 AM   #1
the_pheonix
LQ Newbie
 
Registered: Nov 2006
Location: South Texas, soon to be North New Mexico
Distribution: Ubuntu
Posts: 4

Rep: Reputation: 0
directory question


you all have heard over and over again "windows user switched to linux". im no different and i have a lame question to ask.

i try to relate a lot of the directories in linux to windows. like "My Documents" is sort of similar to /home/whatever and / is similar to "C:".

when i am trying to install programs for windows they go in the obvious "Program Files" (yes the simplicity is nice, but i know that once use to it linux is just as easy). i am going to assume that most programs are installed somewhere in the /usr ?

can someone clarify?

sorry for the ultimate newbishness. i have read tutorials and such, but i still havent found one that answers the questions like that. thanks in advance!
 
Old 11-08-2006, 02:26 AM   #2
LzW-x
Member
 
Registered: Jun 2006
Distribution: SuSe
Posts: 66

Rep: Reputation: 15
it's a bad subject.... Linux may share libraries and have run time dependencies just like Linux! (yet no one wants to talk about it)
 
Old 11-08-2006, 02:35 AM   #3
the_pheonix
LQ Newbie
 
Registered: Nov 2006
Location: South Texas, soon to be North New Mexico
Distribution: Ubuntu
Posts: 4

Original Poster
Rep: Reputation: 0
 
Old 11-08-2006, 02:59 AM   #4
kstan
Member
 
Registered: Sep 2004
Location: Malaysia, Johor
Distribution: Dual boot MacOS X/Ubuntu 9.10
Posts: 851

Rep: Reputation: 31
i try my best to tell you my opinion:-
Due to linux have too many vendor, and all the software developers develop decentralize, so it is hard to have a standard. Below is just some concept

linux - windows
=================
/ my computer (include C:,D:,E:,F: usb, and everything)
/home c:\documents and setting\
/usr, /opt c:\program files
/usr/lib,/lib c:\windows, c:\windows\system32 (all dll, ocx files)
/proc everything inside memory, like processor status, battery status, partitions
/dev device manager
/etc windows registry (all software setting place here)
/bin,/sbin c:\windows\system32 (only system .exe,.com file)
/var maybe a place for you to put database, temporary files and etc
/boot who know where? maybe at c:\autoexec.com?, c:\windows\system32? or etc...

remember, above is only a very rough ideal, the detail is much more complicated.
So much difference between windows and linux. In windows you won't see a file represent a videocard, a webcam, a cdrom, processor, entire hard disk.
In linux everything is a file, file, files. So, please use more linux then your understand.
 
Old 11-08-2006, 04:09 AM   #5
the_pheonix
LQ Newbie
 
Registered: Nov 2006
Location: South Texas, soon to be North New Mexico
Distribution: Ubuntu
Posts: 4

Original Poster
Rep: Reputation: 0
wow! thank you. that rough idea actually smoothed some things out for me.
the more i play around with it and use it the more im sure ill understand

thanks,

 
Old 11-08-2006, 04:16 AM   #6
my.dying.bride
LQ Newbie
 
Registered: Nov 2006
Distribution: Vector Soho Edition 5.1(Best yet)
Posts: 25

Rep: Reputation: 15
sweet explanation kstan . Phoenix ever tried Gobolinux ? It is an intent of changing out the whole mentioned system, and by "accident" it is somehow organized a bit like Windows.
 
Old 11-10-2006, 09:10 PM   #7
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
Quote:
Originally Posted by LzW-x
it's a bad subject.... Linux may share libraries and have run time dependencies just like Linux! (yet no one wants to talk about it)
That absolutely makes no sense at all. One of our rules is to post constructively, if you don't have anything constructive to say, please skip on to the next thread.
 
Old 11-12-2006, 06:40 PM   #8
kstan
Member
 
Registered: Sep 2004
Location: Malaysia, Johor
Distribution: Dual boot MacOS X/Ubuntu 9.10
Posts: 851

Rep: Reputation: 31
somebody been scold?

Anyway, I want to add in more details,
eventhough the /etc is some place we but the setting, however in linux we always download source code from internet and recompile our self. So, the directory we normally as below:-
/usr/src a folder to place source code(No same thing in windows)
/usr/local a folder like program files, majority of new software which you compile yourself probably put here.
inside here there is much sub folder which you familiar, like etc, bin, usr. So, this folder similar
like c:\program files too

Ks
 
Old 11-12-2006, 07:44 PM   #9
osor
HCL Maintainer
 
Registered: Jan 2006
Distribution: (H)LFS, Gentoo
Posts: 2,450

Rep: Reputation: 78
If you want to learn more about the standard to which most major distro's adhere, check out this: http://www.pathname.com/fhs
 
Old 11-12-2006, 08:01 PM   #10
kstan
Member
 
Registered: Sep 2004
Location: Malaysia, Johor
Distribution: Dual boot MacOS X/Ubuntu 9.10
Posts: 851

Rep: Reputation: 31
good place..
 
  


Reply



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
ProFTPD Directory Question signature16 Linux - Networking 1 05-24-2006 08:51 AM
Directory transfer question t3ch5 Linux - Hardware 6 05-15-2006 08:07 AM
/tmp directory question jvk Linux - Newbie 4 10-12-2004 06:40 PM
Directory Permissions question sopiaz57 Linux - General 4 06-11-2004 12:44 PM
Directory question ProtoformX Linux - Security 2 06-07-2004 02:32 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:28 PM.

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
Open Source Consulting | Domain Registration