Skip to content

About

shellscripts

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ShellScripts

A collection of Linux Shell Scripting practice scripts created as part of my Linux and DevOps learning journey.

This repository covers Bash fundamentals, system administration, file handling, monitoring, automation, logging, and practical scripting exercises.


📂 Repository Structure

ShellScripts/
│
├── Phase_1/
│   ├── 01_system_info.sh              >> System information
│   ├── 02_user_input.sh               >> User input
│   ├── 03_basic_math.sh               >> Basic mathematical operations
│   ├── 04_arguments.sh                >> Command-line arguments
│   ├── 05_env_vars.sh                 >> Environment variables
│   ├── 06_number_checks.sh             >> Number checking
│   ├── 07_largest_of_three.sh          >> Find largest of three numbers
│   ├── 08_file_system_checks.sh        >> File and directory checks
│   ├── 09_string_validation.sh         >> String validation
│   ├── 10_system_privileges.sh        >> System privileges
│   ├── 11_resource_monitor.sh          >> System resource monitoring
│   ├── 12_number_comparison.sh         >> Number comparison
│   ├── 13_print_sum_loops.sh           >> Loops and sum calculation
│   ├── 14_multiplication_table.sh      >> Multiplication table
│   ├── 15_factorial.sh                 >> Factorial calculation
│   ├── 16_countdown_timer.sh            >> Countdown timer
│   ├── 17_read_file_lines.sh            >> Reading file line by line
│   ├── 18_count_files.sh                >> Counting files
│   ├── 19_read_log_file.sh              >> Reading log files
│   ├── 20_array_loop.sh                 >> Arrays and loops
│   └── 21_menu_driven_system.sh         >> Menu-driven system
│
├── Phase_2/
│   ├── 22_math_ops.sh                  >> Mathematical operations
│   ├── 23_returns_and_status.sh        >> Return values and exit status
│   ├── 24_system_monitors.sh           >> System monitoring
│   ├── 25_user_mgmt.sh                 >> User management
│   ├── 26_logger_utils.sh              >> Logging utilities
│   ├── 27_health_check.sh              >> System health checks
│   ├── 28_retry_mechanism.sh           >> Retry mechanism
│   ├── 29_deploy_rollback.sh           >> Deployment rollback
│   ├── 30_container_k8s_val.sh         >> Container and Kubernetes validation
│   ├── 31_file_crud.sh                 >> File CRUD operations
│   ├── 32_file_read_write.sh           >> File read and write operations
│   ├── 33_text_stats.sh                >> Text statistics
│   ├── 34_search_replace.sh            >> Search and replace
│   ├── 35_file_discovery.sh            >> File discovery
│   └── 36_backup_maintenance.sh        >> Backup and maintenance
│
├── Phase_3/
│   └── Coming soon...
│
├── log_analyzer/
│   └── Log analysis scripts
│
├── practisescripts/
│   └── Additional practice scripts
│
├── args_demo.sh                        >> Command-line arguments
├── backup.sh                            >> Backup operations
├── checknumberifpositivenegeative.sh   >> Positive and negative number check
├── checkpackagesversion.sh              >> Package version checking
├── checkresources.sh                    >> Resource checking
├── checksystemresources.sh              >> System resource checking
├── checkvotingeligibility.sh            >> Voting eligibility check
├── conditionsexamples.sh                >> Conditional statements
├── conversions.sh                       >> Number and value conversions
├── count.sh                              >> Counting operations
├── countdown.sh                          >> Countdown
├── disk_check.sh                         >> Disk space checking
├── divisibleby_5_7.sh                    >> Divisibility checking
├── evenodd.sh                            >> Even and odd number check
├── file_check.sh                         >> File checking
├── for_loop.sh                           >> For loop examples
├── funtions.sh                            >> Shell functions
├── generate_scripts.sh                   >> Script generation
├── grade_calculator.sh                   >> Grade calculation
├── greet.sh                               >> Greeting script
├── hello.sh                               >> Basic Hello World script
├── install_packages.sh                   >> Package installation
├── L_factorial.sh                        >> Factorial using loop
├── L_print_nos.sh                        >> Print numbers using loop
├── L_printsum.sh                         >> Print sum using loop
├── L_tables.sh                            >> Tables using loop
├── largestnumber.sh                      >> Find largest number
├── local_demo.sh                         >> Local variable practice
├── log_rotate.sh                         >> Log rotation
├── maintenance.sh                        >> System maintenance
├── marrige_eligibility.sh                >> Marriage eligibility check
├── operations.sh                         >> Basic operations
├── operations1.sh                        >> Operations practice
├── safe_script.sh                        >> Safe scripting practices
├── server_check.sh                       >> Server health checking
├── smallestnumber.sh                     >> Find smallest number
├── swapvariable.sh                       >> Swap variables
├── system_info.sh                        >> System information
├── variables.sh                          >> Shell variables
└── variables1.sh                         >> Variables practice

## 🎯 Goal

The goal of this repository is to build strong practical skills in:

- Linux administration
- Shell scripting
- Automation
- Troubleshooting
- DevOps workflows

I will continue adding scripts and improving existing ones as I learn.

---

## 👨‍💻 Author

**Nishant Bhangale**

Learning Linux, Shell Scripting, Docker, Kubernetes, and DevOps step by step.

About

shellscripts

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages