Click to See Complete Forum and Search --> : ksh


RATM6
09-23-2003, 10:58 AM
RedHat 8
My default shell is ksh, but everytime I write a script I get this error : Print command not found

./output1.ksh: line 3: print: command not found
./output1.ksh: line 4: print: command not found
./output1.ksh: line 5: print: command not found
./output1.ksh: line 6: print: command not found
./output1.ksh: line 7: print: command not found
./output1.ksh: line 8: print: command not found
./output1.ksh: line 9: print: command not found
./output1.ksh: line 10: unexpected EOF while looking for matching `"'
./output1.ksh: line 11: syntax error: unexpected end of file
$

scifire
09-23-2003, 04:02 PM
i am not familliar to ksh but i think that u must try echo in place of print this is only a suggestion echo must accomplish the task u need
if u don't whan to use echo i think that the problem is in the PATH
if it is not there ...
use bash ;)