# 🐚 BashCode
Welcome to the **BashCode** repository! This project contains a collection of beginner-friendly Bash and Shell script programs for practicing basic logic, algorithm writing, and Linux command-line automation.
---
## 📂 What's Included?
Each script solves a common problem or performs a useful task in shell scripting:
- ✅ Factorial of a number
- ✅ Fibonacci series generation
- ✅ GCD and LCM calculation
- ✅ FCFS (First-Come-First-Serve) scheduling algorithm
- ✅ Word, line, and character count in files
- ✅ Even/Odd number checker
- ✅ More shell basics for practice
---
## 🧪 Sample File List
- `4-Write a program to find the factorial of a number`
- `5-Write a program to find the Fibonacci series`
- `6-Write a program to find the GCD and LCM`
- `7-Write a Shell script to find the number of odd and even numbers`
- `8-Write a Shell script to count the number of lines, words, and characters in a file`
- `9-Write a Shell script to check whether a number is even or odd`
- `30-Write a program to illustrate FCFS scheduling`
---
## 🚀 How to Run
1. Open a Linux terminal or WSL (on Windows).
2. Make the script executable:
```bash
chmod +x filename.sh- Run the script:
./filename.sh- 💻 Beginners learning Shell Scripting
- 🎓 B.Tech/CS students doing OS/Linux assignments
- 🧠 Interview preparation for Linux scripting rounds
Want to add more scripts? Found an error? Contributions are welcome!
- Fork this repo
- Add your scripts
- Create a pull request
Newton2025 📅 Last Updated: 7 months ago
⭐ Star this repo if you find it useful!