I want to execute multiple commands after a sudo command
su - appuser -c "cd /apps/bundle/bundle-client/bin ; export BDL_WEB_USER=not_used ; export BDL_WEB_PASSWORD=not_used ; ./bundle -b ${option.BundleName} ${option.Ports}"
It seems to throw an error
ERROR :
bash: cd /apps/bundle/bundle-client/bin ; export BDL_WEB_USER=not_used ; export BDL_WEB_PASSWORD=not_used ; ./bundle -b ${option.BundleName} ${option.Ports}: bad substitution
Have you faced issues while using multiple commands after sudo?
Aucun commentaire:
Enregistrer un commentaire