Monthly Archive: May 2018

0

How to run node script from BASH?

Below shell script is running a node script, which gets an object from package.json, updates the app version and writes it back to the package.json using node API. // foo.sh node <<EOF var fs...

0

can not run shell script from command line on mac

To run any script you need to have executable write of that script. chmod 755 ./script_name.sh chmod 755 – gives you full permission. It gives only read and execute permission to everyone else.