# mohammad-sufyan/shell_scripting architecture

> Architecture diagram of the GitHub repository mohammad-sufyan/shell_scripting, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-11-11). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/mohammad-sufyan/shell_scripting
- Repository: https://github.com/mohammad-sufyan/shell_scripting

## Overview

This repository is a small collection of shell-script examples, not a documented application with a shared runtime workflow. The files cover greeting output and basic shell topics: variables, conditionals, loops, and user creation. The README contains Git commands but documents no relationships among the scripts. With no source excerpts available, their behavior and interactions cannot be verified, so the graph treats them as standalone examples and omits unsupported edges.

## Diagram (Mermaid)

```mermaid
flowchart TD

node_hello["Hello example<br/>[hello.sh]"]
node_create_user["Create user<br/>[create_user.sh]"]
node_if_condition["Condition example<br/>[if_condition.sh]"]
node_loop["Loop example<br/>[loop.sh]"]
node_variable["Variable example<br/>[variable.sh]"]
node_while["While example<br/>[while.sh]"]

click node_hello "https://github.com/mohammad-sufyan/shell_scripting/blob/main/day1/hello.sh"
click node_create_user "https://github.com/mohammad-sufyan/shell_scripting/blob/main/day2/create_user.sh"
click node_if_condition "https://github.com/mohammad-sufyan/shell_scripting/blob/main/day2/if_condition.sh"
click node_loop "https://github.com/mohammad-sufyan/shell_scripting/blob/main/day2/loop.sh"
click node_variable "https://github.com/mohammad-sufyan/shell_scripting/blob/main/day2/variable.sh"
click node_while "https://github.com/mohammad-sufyan/shell_scripting/blob/main/day2/while.sh"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_hello,node_if_condition,node_loop,node_variable,node_while toneTeal
class node_create_user toneBlue
```

## Components

### Other components

- [Hello example](https://github.com/mohammad-sufyan/shell_scripting/blob/main/day1/hello.sh): `day1/hello.sh`
- [Create user](https://github.com/mohammad-sufyan/shell_scripting/blob/main/day2/create_user.sh): `day2/create_user.sh`
- [Condition example](https://github.com/mohammad-sufyan/shell_scripting/blob/main/day2/if_condition.sh): `day2/if_condition.sh`
- [Loop example](https://github.com/mohammad-sufyan/shell_scripting/blob/main/day2/loop.sh): `day2/loop.sh`
- [Variable example](https://github.com/mohammad-sufyan/shell_scripting/blob/main/day2/variable.sh): `day2/variable.sh`
- [While example](https://github.com/mohammad-sufyan/shell_scripting/blob/main/day2/while.sh): `day2/while.sh`
