I have downloaded CygWin(32-bit) and installed (on Windows 7 32 bit System) today to run shell script but i found one problem that bc command isn't working.
I am getting error -bash: bc: command not found. So please help me out!

On Windows Cygwin, run setup.exe and search for "bc" in the "Math" category, click on it and hit Next to install.

On Unix/Linux you'll probably be needed to install this package Using:
sudo apt install bc
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With