Linux - NewbieThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Location: South Texas, soon to be North New Mexico
Distribution: Ubuntu
Posts: 4
Rep:
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!
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.
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.
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.
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
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.