The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
.
google unix.com



UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
help needed urgently nabmufti Shell Programming and Scripting 11 02-11-2008 08:17 AM
Need help urgently user_prady Shell Programming and Scripting 3 09-03-2007 10:51 PM
Major Help Urgently Needed!!!! billett05 UNIX for Dummies Questions & Answers 3 07-20-2005 03:55 PM
Need Information Urgently. sumit_krishan UNIX for Dummies Questions & Answers 3 06-08-2005 07:13 AM
Shell Script needed urgently vas_dba Shell Programming and Scripting 2 03-11-2005 09:00 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 05-29-2008
jagan_kalluri jagan_kalluri is offline
Registered User
  
 

Join Date: May 2008
Location: ATLANTA GEORGIA USA
Posts: 25
Help NEEDED urgently on exceutable file

Hi ,

i amtrying to execute a file called bcs_maint which is the final executable for our project.
Normally on some other servers ican execute it by just typing bcs_maint.

yesterday i got a new worksattion for me and when i do the same it says


/sbin/sh: bcs_maint : not found.


What does this error mean and how to resolve this.

Thx,
Jagan
  #2 (permalink)  
Old 05-29-2008
Dave Miller's Avatar
Dave Miller Dave Miller is offline
Registered User
  
 

Join Date: Dec 2007
Location: Northern NJ, USA
Posts: 151
More likely than not, it's not in your $PATH
  #3 (permalink)  
Old 05-29-2008
jagan_kalluri jagan_kalluri is offline
Registered User
  
 

Join Date: May 2008
Location: ATLANTA GEORGIA USA
Posts: 25
No Dave I am in correct path only
  #4 (permalink)  
Old 05-29-2008
mark54g mark54g is offline
Registered User
  
 

Join Date: May 2008
Posts: 365
You may be in the correct directory, but if . is not in your path, you must use the full path name such as:

/home/jagan_kalluri/bcs_maint or
~/bcs_maint (if it is in your home dir)

otherwise, if you are in the directory you need to type:

./bcs_maint


There are several reasons NOT to put . in your PATH so I will not go into those. Some machines may have them in your path regardless.

You can test this out by running the command:

echo $PATH
  #5 (permalink)  
Old 05-29-2008
grial's Avatar
grial grial is offline Forum Advisor  
El UNIX es como un toro
  
 

Join Date: Jun 2006
Location: Madrid (Spain)
Posts: 531
Quote:
Originally Posted by mark54g View Post
You may be in the correct directory, but if . is not in your path, you must use the full path name such as:

/home/jagan_kalluri/bcs_maint or
~/bcs_maint (if it is in your home dir)

otherwise, if you are in the directory you need to type:

./bcs_maint


There are several reasons NOT to put . in your PATH so I will not go into those. Some machines may have them in your path regardless.

You can test this out by running the command:

echo $PATH
Or in other words, two options:
- add the path to the binary to the PATH variable.
- link to it into another dir already in your PATH.
  #6 (permalink)  
Old 05-29-2008
jagan_kalluri jagan_kalluri is offline
Registered User
  
 

Join Date: May 2008
Location: ATLANTA GEORGIA USA
Posts: 25
Thank You All ,


its working now.
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 11:22 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0