Re: executable problem

2001-03-16 Thread Marcelo Chiapparini
n Fri, Mar 16, 2001 at 01:46:48PM +, Colin Watson wrote: > Marcelo Chiapparini <[EMAIL PROTECTED]> wrote: > >I've just compiled a FORTRAN program but I am unable to run the > >executable, because "bash: qhdiv0.e: command not found". I think > >this is because the present directory it is not i

Re: executable problem

2001-03-16 Thread Colin Watson
Marcelo Chiapparini <[EMAIL PROTECTED]> wrote: >I've just compiled a FORTRAN program but I am unable to run the >executable, because "bash: qhdiv0.e: command not found". I think >this is because the present directory it is not in the PATH. Just so you know why this is considered a bad idea: you

Re: executable problem

2001-03-15 Thread David Z. Maze
Marcelo Chiapparini <[EMAIL PROTECTED]> writes: MC> I've just compiled a FORTRAN program but I am unable to run the MC> executable, because "bash: qhdiv0.e: command not found". I think MC> this is because the present directory it is not in the PATH. You should run './qhdiv0.e', then. This expli

Re: executable problem

2001-03-15 Thread kmself
on Thu, Mar 15, 2001 at 05:24:28PM -0300, Marcelo Chiapparini ([EMAIL PROTECTED]) wrote: > Hi, > > I've just compiled a FORTRAN program but I am unable to run the > executable, because "bash: qhdiv0.e: command not found". I think > this is because the present directory it is not in the PATH. Pl

Re: executable problem

2001-03-15 Thread Sebastiaan
Hi, if you want to run a program in your current directory, you should type: ./program-to-run ./ forces bash to look in the current directory. If you want to add this to your path, you can edit .bashrc in your homedir. Add a line like: PATH=$PATH:./ but do not catch me on this one. My bash is n

executable problem

2001-03-15 Thread Marcelo Chiapparini
Hi, I've just compiled a FORTRAN program but I am unable to run the executable, because "bash: qhdiv0.e: command not found". I think this is because the present directory it is not in the PATH. Please, I need to know: a) where is the file where the PATH is defined b) what should I write in it