Skip to content

Latest commit

 

History

History
25 lines (17 loc) · 556 Bytes

README.md

File metadata and controls

25 lines (17 loc) · 556 Bytes

shell-scripting-demos

Bash Calculator

This is a simple bash script that performs basic arithmetic operations. It prompts the user to enter two numbers and then offers options to add, subtract, multiply, or divide them.

Usage

  1. Clone the repository:

    git clone https://github.com/your-username/bash-calculator.git
  2. Navigate to the repository directory:

    cd bash-calculator
  3. Run the script:

    bash calculator.sh
  4. Follow the prompts and choose the desired arithmetic operation.