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.
I'm very new to Linux. I'm trying to run an application from the command prompt. I've set the path in .bashrc. My executable file and all other files needed by it are saved in the same directory as the path. When I enter the executable name to run it, I get an error message saying that the command is not found.
Can you post the command you are trying to execute so that we know what you've tried and give you a dedicated answer? Did you set the permissions on the file you want to run? Check permissions with
Can you post the command you are trying to execute so that we know what you've tried and give you a dedicated answer? Did you set the permissions on the file you want to run? Check permissions with
Code:
ls -l
in the directory where you saved the files.
Kind regards,
Eric
Hi there!
It is not a command that I'm trying to run, it is an executable file. Unfortunately I don't have my laptop with me. I'll give more details when I get home. Thanx for the quick response!
New123
If you're referring to a Windows executable file, then you'll need Wine to run it. Windows executable files are not going to execute natively on Linux. Looking forward to your feedback. Post the exact command line as you tried please.
The file that I'm trying to run, is a Linux executable file. When I look at its properties, it shows me that it is an executable. It is an executable that is part of a Linux package used for finite state machines. The executable and all the files that it is using is in /home/drinaduplessis/newxfst. I change my directory from the command prompt to this, and doing ls -l, shows that I am in the correct directory. As I understand I should now be able to type in the executable name, which is xfst. If I do I get a message saying 'no such file or directory'. Before I changed the permission of the file to read and write, I got a message saying something like 'command invalid' or something to that effect. I can run a PERL program from the directory without a problem.
Do you have a 64-bit version of that application available? If so, then remove the 32-bit and install the correct version for your platform. If not, you could try installing the ia32 libraries which might work also.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.