https://github.com/mrigank005/linux_bash
Welcome to my Linux Lab Course Repository! This repository contains a collection of shell scripts implemented as part of my university coursework. These scripts cover a wide range of shell scripting concepts, including arithmetic operations, string manipulation, file handling, and system utilities. 🌟
https://github.com/mrigank005/linux_bash
linux linux-bash linux-shell
Last synced: 3 months ago
JSON representation
Welcome to my Linux Lab Course Repository! This repository contains a collection of shell scripts implemented as part of my university coursework. These scripts cover a wide range of shell scripting concepts, including arithmetic operations, string manipulation, file handling, and system utilities. 🌟
- Host: GitHub
- URL: https://github.com/mrigank005/linux_bash
- Owner: Mrigank005
- Created: 2025-03-23T13:23:29.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2025-03-23T13:53:38.000Z (10 months ago)
- Last Synced: 2025-03-23T14:30:41.661Z (10 months ago)
- Topics: linux, linux-bash, linux-shell
- Language: Shell
- Homepage:
- Size: 41 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## 🚀 Linux Lab Course - Shell Scripts
Welcome to my Linux Lab Course Repository! This repository contains a collection of shell scripts implemented as part of my university coursework. These scripts cover a wide range of shell scripting concepts, including arithmetic operations, string manipulation, file handling, and system utilities. 🌟
---
## 📌 Features
- ✅ Well-structured and commented shell scripts
- ✅ Covers basic to advanced shell scripting concepts
- ✅ Practical scripts for real-world Linux operations
- ✅ Useful for beginners and advanced Linux users
---
## 📜 List of Scripts
| 🔹 Script Name | 📄 Description |
|--------------------------|------------------------------------------------------|
| `arithmeticops.sh` | Performs basic arithmetic operations. |
| `armstrong.sh` | Checks if a number is an Armstrong number. |
| `ascdsc.sh` | Sorts numbers in ascending and descending order. |
| `concatstr.sh` | Concatenates two strings. |
| `factorial.sh` | Calculates the factorial of a number. |
| `file.sh` | Demonstrates file operations. |
| `filepermission.sh` | Changes file permissions. |
| `for1to10.sh` | Prints numbers from 1 to 10 using a for loop. |
| `helloworld.sh` | Prints "Hello, World!" to the console. |
| `inputname.sh` | Reads and prints user input. |
| `lcmhcf.sh` | Computes LCM and HCF of two numbers. |
| `palindrome.sh` | Checks if a number is a palindrome. |
| `palindromesentence.sh` | Checks if a sentence is a palindrome. |
| `pattern.sh` | Prints a pattern using loops. |
| `primenumber.sh` | Checks if a number is prime. |
| `reversestr.sh` | Reverses a string. |
| `sepwords.sh` | Separates words from a sentence. |
| `strcmp.sh` | Compares two strings. |
| `strlen.sh` | Finds the length of a string. |
| `sumofdigits.sh` | Calculates the sum of digits of a number. |
| `sysinfo.sh` | Displays system information. |
| `voteeligible.sh` | Checks if a person is eligible to vote based on age. |
| `wordcount.sh` | Counts the number of words in a file. |
---
## 🚀 How to Run the Scripts
1. Clone this repository to your local system:
```sh
git clone
cd
```
2. Give execute permissions to a script before running it:
```sh
chmod +x scriptname.sh
```
3. Run the script using:
```sh
./scriptname.sh
```
---
## 🎯 Happy Scripting! 🎯