On 7/20/2012 4:19 AM, [email protected] wrote:
>   Dear  sir,
>
>             I have installed my emc in my pc,and now i want  to transplant it 
> to my target machine  which is a i486 CPU. The OS on it is  embedded linux.
>            But now i cant excute it with ./emc.it shows  -/bash/sh:./emc:not  
> found. sorry to trouble u to tell me how can i fix this problem. thank u .
>   
>                                                                               
>                             yours
>                                                                               
>                        liangrunhan
>

[caveat: the following details vary somewhat according to the particular 
shell you are using, e.g., sh, bash, tsh, etc.]

When you invoke an executable program or shell script using the form 
"./emc" it tells the shell interpreter to look *only* in  the current 
working directory for "emc".

When you invoke an executable program or shell script using the form 
"emc" it tells the shell interpreter to search for "emc" in all the 
directories named in the PATH environmental variable.

An easy way to see if the program or script is accessible from where 
ever you are is to invoke the shell command "which",

e.g., on the LinuxCNC installation in front of me,

$ which linuxcnc
/usr/bin/linuxcnc

$ linuxcnc
<linuxcnc starts up>

$ ./linuxcnc
bash: ./linuxcnc: No such file or directory

Hope this helps.

Regards,
Kent



------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Emc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to