Skip to content

kvishnudas05/calculator-using-shell-script

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

calculator-using-shell-script

Calculating number with bash using menu driven

functions performed :

1.)Addition
2.)Substraction
3.)Less than
4.)Greater than
5.)Multiplication
6.)Division
7.)Exponentiation
8.)Modular division

Usage in various platforms

  • Linux:

Download the file use : $ wget https://github.com/kvishnudas05/calculator-using-shell-script/blob/main/calculator.sh

TO make it executable use : $ chmod +x calculator.sh

To run it use : $ bash calculator.sh

  • Windows:

Make it run in window first you need to install WSL (Windows Subsystem for Linux): $ wsl -- install

Download the file use : $ wget https://github.com/kvishnudas05/calculator-using-shell-script/blob/main/calculator.sh

TO make it executable use : $ chmod +x calculator.sh

To run it use : $ bash calculator.sh