Welcome, Guest. Please login or register.

Author Topic: Linux Question  (Read 1730 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline tonywTopic starter

  • Hero Member
  • *****
  • Join Date: Mar 2002
  • Posts: 553
    • Show all replies
Linux Question
« on: February 17, 2003, 01:50:25 AM »
I'm using the kaffe JVM under ixemul, getting it to run under AmigaOS. I have to type in long class path strings every time I open a new shell and it's boring.

How can I do this in a Linus script file? The commands I want to execute are:

export PATH=
export CLASSPATH=
export KAFFELIBRARYPATH=

I put these commands in a script "help" but /bin/sh won't recognise them and gives the error "./help: no such file or directory". If I leave out the "./" I get "help: not found".

I think that the shell isn't even reading the script, which has props of rwxr-xr-x (755).

Any help appreciated.

tony

edit:

Thanks anyway, but I got the answer: use the ".", as in ". ./file"

[Had to ask my daughter - cringe]

tony
 

Offline tonywTopic starter

  • Hero Member
  • *****
  • Join Date: Mar 2002
  • Posts: 553
    • Show all replies
Re: Linux Question
« Reply #1 on: February 18, 2003, 05:01:53 AM »
Thanks, Dave. That's the sort of answer I needed.

Grrrr - Linux command names - what sort of name is "." ??

tony