Monthly Archive: May 2018


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. // node <<EOF var fs...


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 ./ chmod 755 – gives you full permission. It gives only read and execute permission to everyone else.