Skip to content

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. 🌟

Notifications You must be signed in to change notification settings

Mrigank005/Linux_Bash

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

28 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸš€ 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:

    git clone <repository-url>
    cd <repository-name>
  2. Give execute permissions to a script before running it:

    chmod +x scriptname.sh
  3. Run the script using:

    ./scriptname.sh

🎯 Happy Scripting! 🎯

About

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. 🌟

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages