Skip to content

AbdullahReda1/WSLBASH_CALCULATOR

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

BASH_CALCULATOR

This is a simple command-line calculator implemented in Bash. It allows users to perform basic arithmetic operations such as addition, subtraction, multiplication, and division.

Usage

  1. Run the script by executing the following command in your terminal:

    ./calculator.sh
  2. Follow the on-screen instructions to select an operation and enter two numbers.

  3. The script will calculate the result and display it on the screen.

  4. Additionally, a record of the operation and its result will be saved to a history file named "History_Calculator_file".

Requirements

  • Bash shell / wsl bash.
  • bc command-line calculator (usually pre-installed on most Unix-like systems, if not use sudo apt install bc ).

License

This script is provided under the MIT License.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages