If this is your first visit, be sure to check out the FAQ by clicking the link above.
You may have to register before you can post: click the register link above to proceed.
To start viewing messages, select the forum that you want to visit from the selection below.
When I run the following command, sh channels.ksh test2.txt, I get the "Cannot Open" error. The file test2.txt is the input file for the script and it does exist in the same folder as the shell script. Can somebody help me in finding what I am missing here?
When I run the following command, sh channels.ksh test2.txt, I get the "Cannot Open" error. The file test2.txt is the input file for the script and it does exist in the same folder as the shell script. Can somebody help me in finding what I am missing here?
Can it be that your $PATH do not include the folder .
Try to start your script with a point and slash at the beginning like following.
sh ./channels.ksh test2.txt.
The second tip I have : check the permissions from the file test2.txt.
Use chmod 777 test.txt and you will sure the permissions are OK
Itīs only a try.
__________________
Greetings from germany
Peter F.