This repository contains simple and beginner-friendly shell script programs for practice and learning.
factorial.sh– Calculates the factorial of a numbercircle.sh– Finds area and circumference of a circlearithmetic.sh– Performs basic arithmetic operations (+, -, ×, ÷)max_min_temperature.sh– Finds maximum and minimum temperature from inputeven_odd.sh– Checks if a number is even or oddsimple_loop.sh– Demonstrates basicfororwhileloops
These scripts are:
- Written in bash
- Good for understanding basic Linux shell scripting
- Useful for students and beginners in shell programming
Make the script executable and run:
chmod +x script_name.sh
./script_name.sh