While running my script, I got the following message (it's not an error strictly speaking, because the execution go ahead after) :
myScript -s test -u test2 pk_copylogs: hist: :: not found
However, do you know why does this message appear ?
closed as unclear what you're asking by Gilles, slm♦, jasonwryan, Anthon, Shadur Nov 19 '13 at 9:41
Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.
Your script(s) appears to be running under bash, not ksh.
Try the following:
Look for any of
The most likely cause of this problem is, in most shells I have worked with which I didn't have to configure my shortcuts, but someone prior to me did, the command
Have a look to the second line of the
Here is one way to reproduce exactly the same message you got:
Of course, it might not be exactly the same situation in your case but it is certainly very close.
The second line of pk_copylogs might simply contain this line
which would produce the very same error message, or anything that would expand to it.
If you have no idea about where to look, you can run this command to locate the faulty script:
and then have a look to its first lines with