Computing.Net > Forums > Linux > Bash: :command not found help

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Bash: :command not found help

Reply to Message Icon

Name: MN
Date: April 22, 2001 at 22:26:05 Pacific
Comment:

hi,
I try to run a program at the command line. i got the bash:...:command not found error. could anyone help me with this

thanks



Sponsored Link
Ads by Google

Response Number 1
Name: Srinath
Date: April 22, 2001 at 23:06:54 Pacific
Reply:

type

# chmod 777 filename

then do a

./filename

your program should now run....

bye.....


0

Response Number 2
Name: Mik
Date: April 23, 2001 at 04:32:50 Pacific
Reply:

The "chmod 777 filename" command will change the permissions so that you can be certain that it will run. It is however not always wise to enable all the permissions. You might want to try the following command instead which only sets the executable bit and doesn't change the read and write permissions to the file: "chmod +x filename"

The reason why it is not found is because the location directory of the program is not added to the path. If you want to be able to run that program from anywhere they you could add the location to the environment variable path. The ./ just indicates that it should run the program from the current directory.

Mik


0

Response Number 3
Name: MN
Date: April 23, 2001 at 07:09:45 Pacific
Reply:

Thanks guys,
it worked . thanks for all the responses.


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More


Answer Me This!!!!! Only see the lo informati...



Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Linux Forum Home


Sponsored links

Ads by Google


Results for: Bash: :command not found help

bash: ***: command not found www.computing.net/answers/linux/bash-command-not-found/3944.html

IDE command not found www.computing.net/answers/linux/ide-command-not-found/19715.html

setserial command not found error www.computing.net/answers/linux/setserial-command-not-found-error/21611.html