This is a basic ATM simulation program implemented using shell scripting. It allows users to perform simple banking operations such as balance inquiry, deposit, and withdrawal.
- Balance Inquiry
- Deposit Money
- Withdraw Money
- Change Email Address & Password
Contains several lines in the below format
Account Name, Card Number, Email ID, Balance
Account Name: Contains First name followed by Last name (with space separated). First and Last names start with capital letters followed by any number of lower letter alphabets.
Card Number: It has 16 digits in the below format <4 Digits><space>
<4 Digits><space>
<4 Digits><space>
<4 Digits>
Email ID: It has the format username@Domain. The username should start with an alphabet (lower/upper) followed by any number of alphabet or digits. Domain should use <string>
.<string>
.<string>
, where strings contain only lower Alphabets.
Balance: Any number >= 0.
Contains several lines in the below format.
Card Number, Password
Card number format follows as listed in Account.txt. Passwords can be any string.
- Unix/Linux environment with shell scripting support
- Bash shell (or any compatible shell)
- Run the ATM script:
./atm.sh
- Follow the on-screen prompts to navigate through the ATM.
To contribute:
- Fork the repository.
- Create a new branch for your feature/bug fix.
- Commit your changes with meaningful commit messages.
- Push to your fork and submit a pull request.
For any issues or suggestions, contact me at [email protected]