[ Date Index ] [ Thread Index ] [ <= Previous by date / thread ] [ Next by date / thread => ]
On Tuesday 03 July 2007 17:10, peter wrote: > Hi > > I had to use that heading as I am sure the solution is obvious. > > I am writing a script to start a prog... > > Lets say > > #! /bin/csh -f > PATH=/usr/lib/jvm/java-6-sun-1.6.0.00/jre/bin/ > > But it don't like the second line and replies with > > PATH=/usr/lib/jvm/java-6-sun-1.6.0.00/jre/bin/: Command not found. > > It must be something so simple, help please! > Is there a specific reason you're using csh? If not, use bash instead (this is the standard Linux shell), then your command above will work. If you do need to use csh, maybe 'man csh' will tell you how to set environment variables. Regards, David. -- David Johnson www.david-web.co.uk -- The Mailing List for the Devon & Cornwall LUG http://mailman.dclug.org.uk/listinfo/list FAQ: http://www.dcglug.org.uk/linux_adm/list-faq.html