I am not a pro in Linux and I was thinking that where does the files get stored when I do
I understand that different linux distributions do things differently, but I am taking a generic case here.
I read the RUTE documentation, and other answers on stackexchange.
Now, my question is that say I have two users A and B.
This means, I will have two directories
Now, if user A installs anything, none of the installation go in the home directory. But they are installed in
Now, the binary file will go in
/usr/bin If it uses any libraries that goes in
/usr/lib etc etc. (RIGHT?)
So, if I login as
B and try to run the program installed by A,
- Will I be able to run it? what all factors determine that.
- How does the system differentiate that what softwares installed in
/usrare installed by which user. I am assuming that if user B now installs something else, then all the data related to that will also be in
- Also, any of the packages installed by any of the user do not go in
/binfolder right? That is specific to system binaries.
- What if there are no users on my system. Will there be no files in /usr folder? ie in my office, when I remote login to a server, it shows no user in home directory.