View Single Post
  #4 (permalink)  
Old 30-Jun-2009, 13:32
david71's Avatar
david71 david71 is offline
Student Penguin
 
Join Date: Jun 2009
Location: London, UK.
Posts: 84
david71 hasn't been rated much yet
Default Re: Relative pathname for executable file

Thanks elserj and hcvv.

As I understand it, if the path of an executable is not defined in $PATH, you must explicitly include the full pathname of the file to execute it, which adding ./ does. I also tested this by typing at the command prompt
Code:
~/path-to-file/filename
which also executed the file with no problems.
__________________
x86_64 openSUSE 11.1 (2.6.27.29-0.1-default) Gnome 2.24.1
Reply With Quote