{"id":28387435,"url":"https://github.com/athrocks/shellscripting-basics","last_synced_at":"2025-10-28T02:33:01.805Z","repository":{"id":291938048,"uuid":"979268942","full_name":"athrocks/ShellScripting-Basics","owner":"athrocks","description":"A beginner-friendly Bash scripting repository with 19+ examples covering variables, loops, conditionals, arrays, user input, file reading, and more perfect for learning shell scripting basics from scratch.","archived":false,"fork":false,"pushed_at":"2025-05-07T09:14:19.000Z","size":8,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-30T23:15:23.761Z","etag":null,"topics":["shell","shell-script","shell-scripting","shell-scripts","shellscript"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/athrocks.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-05-07T08:53:18.000Z","updated_at":"2025-05-10T17:39:24.000Z","dependencies_parsed_at":"2025-05-07T10:27:11.741Z","dependency_job_id":"08a89ec4-1be1-44c2-a0c6-5118b240644d","html_url":"https://github.com/athrocks/ShellScripting-Basics","commit_stats":null,"previous_names":["athrocks/shellscripting-basic-codes"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/athrocks/ShellScripting-Basics","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/athrocks%2FShellScripting-Basics","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/athrocks%2FShellScripting-Basics/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/athrocks%2FShellScripting-Basics/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/athrocks%2FShellScripting-Basics/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/athrocks","download_url":"https://codeload.github.com/athrocks/ShellScripting-Basics/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/athrocks%2FShellScripting-Basics/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262139547,"owners_count":23265175,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["shell","shell-script","shell-scripting","shell-scripts","shellscript"],"created_at":"2025-05-30T17:40:52.643Z","updated_at":"2025-10-28T02:32:56.753Z","avatar_url":"https://github.com/athrocks.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Bash Scripting Basics 🚀\n\nWelcome to **athrocks' Bash Scripting Repository**! This collection of scripts is designed to help beginners learn the fundamentals of Bash programming step-by-step. Each file demonstrates a specific concept or construct used in shell scripting.\n\n---\n\n## 📁 File Structure\n\n| File Name | Description |\n|-----------|-------------|\n| `01_basic.sh` | Basic script structure and syntax |\n| `02_comments.sh` | How to add comments in Bash scripts |\n| `03_variables.sh` | Using and assigning variables |\n| `04_constants_var.sh` | Constants and readonly variables |\n| `05_arrays.sh` | Defining and using arrays |\n| `06_stringOperation.sh` | Basic string operations in Bash |\n| `07_readUser_Input.sh` | Reading input from the user |\n| `08_01_arithmeticOp.sh` | Arithmetic operations using `expr` |\n| `08_02_arithmeticOp.sh` | Arithmetic operations using `let` and `$(( ))` |\n| `09_if_else.sh` | Conditional execution using if-else |\n| `10_elif.sh` | Using `elif` for multiple conditions |\n| `11_case_demo.sh` | Pattern matching with `case` statements |\n| `12_forLoop.sh` | `for` loop basics |\n| `13_Iterate_FILE.sh` | Iterating over lines in a file |\n| `14_iterate_Array.sh` | Looping through arrays |\n| `15_whileLoop.sh` | `while` loop basics |\n| `16_untilLoop.sh` | Using `until` loop |\n| `17_infiniteLoop.sh` | Creating an infinite `while` loop |\n| `18_infinite_forLoop.sh` | Creating an infinite `for` loop |\n| `19_readFile_whileLoop.sh` | Reading a file line-by-line using a `while` loop |\n\n---\n\n## 🛠 How to Run\n\n```bash\nchmod +x filename.sh\n./filename.sh\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fathrocks%2Fshellscripting-basics","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fathrocks%2Fshellscripting-basics","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fathrocks%2Fshellscripting-basics/lists"}