Score:0

Problem when trying to run shell script : No such file or directory for testing purposes

bd flag

I am using the following code to run my tests

PROJDIR=$(pwd)
echo PROJDIR = $PROJDIR
/data/precima_rnd/dev/core/pme/ModelEngine/PrecimaModelEngine.sh\   
-s ${PROJDIR}/model_specs.csv\
-x ${PROJDIR}/pme_params.xml\
-v ${PROJDIR}/v.csv\
-d ${PROJDIR}/data.csv\
-w ${PROJDIR}\
-mm`

It worked with me before but for some reason, it is not working at all.

-bash: /data/precima_rnd/dev/core/pme/ModelEngine/PrecimaModelEngine.sh-s: No such file or directory
Soren A avatar
mx flag
According to the error message you don't have a script called `...ModelEngine/PrecimaModelEngine.sh-s` .. a space is missing before `-s`.
terdon avatar
cn flag
I am voting to close this since it was just a typo: you need a space after `.sh` and before the `\ `: `/data/precima_rnd/dev/core/pme/ModelEngine/PrecimaModelEngine.sh \ `.
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.