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.
My ordinary user's $PATH is /usr/local/bin:/usr/bin:/bin:/usr/games (and I don't need /usr/games).
My root's $PATH is /usr/local/sbin:/usr/sbin:/sbin:/usr/local/bin:/usr/bin:/bin:/usr/games.
No $PATH-related problems, AFAIK.
One workaround for the problem you describe is putting symlinks in one of the directories listed in $PATH, pointing to the executables you are having problems with.
This seems to be a very limited/restricted path. Where do I find the paths for the installed applications?
I'm pretty sure that the applications are not all binaries and have their own paths stored somewhere.
That's quite a normal PATH for a Linux system. On *nix systems in general, things don't get their own installation path - the binaries will generally end up in one of the /bin or /sbin paths you mentioned above. Search for the File Hierarchy System if you want to know more.
Having said that, sometimes packages will install in another location, especially if they have a lot of things to install (e.g. /usr/bin/X11/ has a lot of binaries, on my system). If you post the specific error messages you get, we can help you with that, and the organisation of the filesystem structure'll become clear over time.
I'm not getting error messages. I have been working with camorri
Senior Member in the the Linux Networking Forum to resolve a failure of sharing files between my new Debian system and my existing Windows systems.
I was wondering if, somehow, there might be a path error preventing Samba from being fully functional. The daemons are running, but access is still being denied in both directions.
That is why I am asking about how paths are used in Linux. I have grown used to being able to find a specific path to an application in the Registry. However, I have been unable to locate an equivalent file in Linux.
I have quit logging in as a User and login as Root, until I need to test the system. So, the path I provided is from my Root Login.
It is unlikely to be a $PATH problem, given that yours are normal.
How about starting a new thread for a Samba problem? Maybe someone here at LQ will be able to help, despite your already having received quality advice at the Linux Networking Forum.
But in this way i lost the path every new session !!
what do i have to write in terminal ??
The bash shell reads certain files whenever it starts up - read the `invocation' section in the bash man page for details.
The quick-fix: put those two lines at the end of (for example) /etc/profile file and everyone on your system will have them, all the time - put them in ~/.bash_profile if you only want a particular user to have them.
It is unlikely to be a $PATH problem, given that yours are normal.
How about starting a new thread for a Samba problem? Maybe someone here at LQ will be able to help, despite your already having received quality advice at the Linux Networking Forum.
I have a Thread for my Samba problem in the Networking Forum. Should it be posted somewhere else?
I didn't want to post, what I considered, an unrelated generic issue, I am confused about, in the networking thread. There are many things I am trying to learn and understand about the *nix distro's. Especially after all of the Windows exposure I have had.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.