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.
Hi everyone,
I am having troubles using find and grep. What would be the expression to search for a key term in all files in subdirecties of a main directory?
Also I am trying to run a program and I keep getting a message that a sepcific file cannot be opened even though i added the path to .bash_profile. Am I supposed to do something extra so the file cann be opened
Thanks for your help.
Also I am trying to run a program and I keep getting a message that a sepcific file cannot be opened even though i added the path to .bash_profile. Am I supposed to do something extra so the file cann be opened
I didn't source the .bash_profile. Should I just write it the way you specified source .bash_profile
I logged out and loogged in, that didn't work.
Thanks for your help
Plzz post the exact error message here so that It would be easy for all of us to sort your problem out.
What file cannot be opened? Its probably a shared library file, you can't set path to shared library from .bash_profile If I can rememebr.
So, if you post the exact error messages along with the command you ran, it would be very easy.
Looks like the program isn't finding release3.2-linux/data/default.stp file. Does this file exist?
Also looks like the program is looking for the file from its current directory.
Anyone can help me here. When I said I can open it, I meant that it exists. I still get the message that the file cannot be opened. Even when I try to run the run program in the directory where the file is. Anyone knows what the problem can be?
Thnaks a lot
The permission of the file may be the problem. For the time being give all permission to the file and see. Another thing, if you can edit the progams configuration file to use absolute path of that .stp file instead of that reative one, plzz do that.
And if that .stp file is a script file. it needs executable permission as well.
Change to the folder contating the file and then run.
chmod 777 default.stp
Well, I don't exactly know whats going on in your side nor do I know which program it is. If its possible
give me the link to the program, so that I can test and see whats wrong.
Alsp, plzz explain in more details. What kind of prgram is it? Was the compilation successful?
I just wanted to say thanks for trying to help me. I figured out what the problem was. I just had the path written wong in one of the files. the system has so many modules andthat was kind of confusing.
I just have a quick question. I need to make sure that the lock deamon rpc.lockd is running. When I write lssrc -s rpc.lockd I get : bash : lssrc : command not found. Is there a different command when using the bash shell?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.