Skip to content

harimsd07/Computer_Fundamentals

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

9 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ–₯️ System Administration & DevOps β€” Complete Study Notes

Markdown Files Lines Topics License

A comprehensive, production-grade reference for System Administrators, DevOps Engineers, and Cloud Practitioners.

46 markdown files Β· 22,825+ lines Β· Fully cross-linked Β· Mermaid diagrams throughout


πŸ“– What Is This?

This repository is a complete, structured knowledge base covering every major topic a modern sysadmin or DevOps engineer needs to know β€” from Linux fundamentals to Kubernetes, from bash scripting to AWS, from Git basics to ELK Stack.

Every file is:

  • Self-contained β€” can be read independently
  • Cross-linked β€” every file links to related topics
  • Practical β€” real commands, real configs, real examples
  • Visual β€” Mermaid architecture diagrams, flowcharts, sequence diagrams
  • Up to date β€” covers modern tooling (Terraform, K8s, GitHub Actions, Prometheus, etc.)

πŸ—‚οΈ Topics at a Glance

πŸ–₯️ Operating System Fundamentals

# Topic
01 OS Fundamentals β€” Linux vs Windows, Kernel, User Space, GUI vs CLI
02 File System Structure and Navigation β€” FHS, inodes, mounts
03 Linux Command Line Basics β€” ls, cd, grep, pipes, redirects
04 Windows CMD and PowerShell Basics β€” dir, tasklist, Get-Process
05 User Permissions and Privilege Management β€” chmod, sudo, UAC, ACL
06 File Management Concepts β€” compression, search, checksums, rsync

🌐 Networking

# Topic
07 Networking Fundamentals β€” OSI, IP, Subnet, Gateway, DNS, Ports, TCP/UDP
08 Networking Tools β€” ping, traceroute, netstat, nslookup, curl, nmap
09 Active Directory β€” Domain, DC, GPO, Kerberos, LDAP, FSMO Roles
10 IIS Web Server Basics β€” app pools, bindings, web.config
11 Time Synchronization β€” NTP, chrony, w32tm, stratum hierarchy
12 VPN Basics β€” IPSec, SSL/TLS, WireGuard, OpenVPN, split tunnel
22 DNS Deep Dive β€” BIND9, zone files, reverse DNS, SPF/DKIM/DMARC
32 Network Protocols Deep Dive β€” HTTP/2/3, DHCP, ARP, BGP, OSPF

πŸ” Security

# Topic
13 System Monitoring and Logging β€” journalctl, Event Viewer, syslog
14 Basic Security Concepts β€” auth, encryption, firewall, PKI, EDR
26 SSL/TLS & Certificates β€” Let's Encrypt, certbot, openssl, HTTPS
38 Linux System Hardening β€” SSH, Fail2Ban, PAM, auditd, sysctl, AppArmor

βš™οΈ System Management

# Topic
15 Services and Process Management β€” systemd, cron, Windows SCM
16 Software Installation Methods β€” apt, pacman, winget, pip, npm
17 Cloud and Remote Access β€” SSH, RDP, Docker basics, AWS CLI
18 Troubleshooting Methodology β€” identify, isolate, fix, verify, document
35 Storage & RAID β€” LVM, RAID levels, ZFS, SAN/NAS, disk tools
37 Virtualization & Hypervisors β€” KVM, VMware ESXi, Hyper-V, VirtualBox
39 Windows Server Administration β€” DHCP, DNS, File Server, Registry, WEF

πŸ”§ Git & Version Control

# Topic
19 Git Fundamentals β€” objects, commits, staging, .gitignore
20 Git Commands and Workflow β€” init, clone, add, commit, push, pull
21 Branching, Merging, Conflicts & Best Practices β€” rebase, cherry-pick, Helm

🌍 Web Servers & Email

# Topic
25 Web Servers β€” Nginx & Apache β€” vhosts, reverse proxy, PHP-FPM, SSL
34 Load Balancing & Reverse Proxy β€” HAProxy, Nginx LB, health checks
40 Email & Mail Servers β€” Postfix, Dovecot, SPF/DKIM/DMARC, SpamAssassin

πŸ’» Scripting & Automation

# Topic
23 Bash Scripting β€” variables, loops, functions, error handling, real scripts
31 PowerShell Scripting β€” objects, remoting, AD automation, modules
33 Regex Fundamentals β€” syntax, groups, lookaheads, grep/sed/awk/Python
45 Python for Sysadmins β€” psutil, paramiko, boto3, log parsing, SSH

πŸ—„οΈ Data & Storage

# Topic
24 Database Basics β€” MySQL, PostgreSQL, SQLite β€” CRUD, users, backup
29 Backup and Disaster Recovery β€” rsync, Restic, 3-2-1 rule, RPO/RTO

πŸš€ DevOps & Cloud Native

# Topic
27 CI/CD Fundamentals β€” GitHub Actions, GitLab CI, Docker pipelines
28 Infrastructure as Code β€” Terraform & Ansible β€” HCL, playbooks, roles
30 Docker & Containers β€” Dockerfile, Compose, networking, volumes
41 Kubernetes Deep Dive β€” kubectl, Deployments, RBAC, Helm, HPA, Jobs
44 AWS Cloud Deep Dive β€” VPC, EC2, S3, IAM, RDS, Lambda, CloudWatch

πŸ“Š Observability & Monitoring

# Topic
36 SNMP & Network Monitoring β€” Nagios, Zabbix, SNMP OIDs, traps
42 Monitoring with Prometheus & Grafana β€” PromQL, alerting, exporters
43 ELK Stack β€” Elasticsearch, Logstash, Kibana, Filebeat, ILM

πŸš€ Quick Start

Clone and Open

# Clone the repository
git clone https://github.com/YOUR_USERNAME/sysadmin-notes.git
cd sysadmin-notes

# Start at the master index
# Open 00_INDEX.md in your preferred viewer

Recommended Viewers

Viewer Platform Notes
Obsidian Windows / macOS / Linux Best experience β€” graph view, backlinks
VS Code + Markdown Preview Enhanced All Renders Mermaid diagrams
GitHub Browser Renders tables + code blocks
Typora Windows / macOS / Linux Clean WYSIWYG editor
Zettlr All Academic-style, great for links

⚠️ Keep all .md files in the same folder β€” cross-links use relative paths.


✨ Features

Feature Details
πŸ“ Architecture Diagrams Mermaid flowcharts, sequence diagrams, state diagrams, gitGraphs
πŸ”— Cross-linked Every file links forward and backward to related topics
πŸ’» Dual coverage Linux AND Windows side-by-side for most topics
πŸ“‹ Comparison tables Tools, commands, config options β€” all tabulated
πŸ› οΈ Real commands Copy-paste ready β€” no placeholder examples
πŸ—ΊοΈ Learning paths 4 structured paths: Linux Sysadmin, Windows Sysadmin, DevOps, Security
πŸ“š 4-week schedule Day-by-day study plan included in index
⚑ Cheat sheets Quick reference for Linux, Git, Docker, K8s, AWS, Networking

πŸ“Š Repository Stats

Total Files    : 46 (1 index + 45 topic files)
Total Lines    : 22,825+
Largest File   : 43_ELK_Stack.md (870 lines)
Sections       : 10
Learning Paths : 4

Lines per Section

Section Files Total Lines
OS Fundamentals 6 ~2,313
Networking 8 ~3,175
Security 4 ~1,557
System Management 7 ~2,937
Git & Version Control 3 ~1,364
Web Servers & Email 3 ~1,718
Scripting & Automation 4 ~2,811
Data & Storage 2 ~1,067
DevOps & Cloud Native 5 ~3,475
Observability & Monitoring 3 ~2,163

πŸ“– Learning Paths

🟒 Linux Sysadmin (Beginner β†’ Intermediate)

01 OS β†’ 02 FileSystem β†’ 03 LinuxCLI β†’ 05 Permissions β†’ 07 Networking β†’
13 Monitoring β†’ 15 Services β†’ 23 Bash β†’ 25 Nginx β†’ 26 SSL β†’ 22 DNS β†’ 29 Backup

πŸ”΅ Windows Sysadmin

01 OS β†’ 04 WinCLI β†’ 05 Permissions β†’ 09 AD β†’ 10 IIS β†’
11 NTP β†’ 31 PowerShell β†’ 39 WinServer

🟑 DevOps Engineer

19 Git β†’ 20 GitCmds β†’ 21 Branching β†’ 23 Bash β†’ 27 CICD β†’
30 Docker β†’ 28 IaC β†’ 41 Kubernetes β†’ 42 Prometheus β†’ 44 AWS

πŸ”΄ Security Engineer

05 Permissions β†’ 14 Security β†’ 26 SSL β†’ 38 Hardening β†’
12 VPN β†’ 22 DNS β†’ 09 AD β†’ 13 Monitoring β†’ 43 ELK

πŸ—“οΈ 4-Week Study Schedule

Week Days Topics
Week 1 β€” Foundation Day 1–2 01, 02, 03 β€” OS + Linux CLI
Day 3–4 05, 06, 07 β€” Permissions + Networking
Day 5–7 19, 20, 21 β€” Git complete
Week 2 β€” Sysadmin Day 1–2 15, 16, 18 β€” Services + Troubleshooting
Day 3–4 13, 14 β€” Monitoring + Security
Day 5–7 23, 33 β€” Bash + Regex
Week 3 β€” Web & Network Day 1–2 22, 08 β€” DNS + Networking Tools
Day 3–4 25, 26 β€” Nginx + SSL/TLS
Day 5–7 09, 40, 38 β€” AD + Email + Hardening
Week 4 β€” DevOps Day 1–2 30, 27 β€” Docker + CI/CD
Day 3–4 28, 41 β€” IaC + Kubernetes
Day 5–7 42, 43, 44 β€” Prometheus + ELK + AWS

⚑ Quick Reference

Linux One-Liners

# Find large files
find / -xdev -size +100M -exec ls -lh {} \; 2>/dev/null | sort -k5 -rh | head -20

# Top 10 CPU processes
ps aux --sort=-%cpu | head -11

# Check all service statuses
systemctl list-units --type=service --state=failed

# Disk usage sorted
du -sh /* 2>/dev/null | sort -rh | head -20

# Watch logs in real time
journalctl -f --since today

# Active network connections
ss -tulpn | grep LISTEN

Git One-Liners

# Undo last commit (keep changes staged)
git reset --soft HEAD~1

# Delete all local branches that are merged
git branch --merged | grep -v '\*\|main\|master' | xargs git branch -d

# Search all commits for a string
git log -S "function_name" --oneline

# Show what changed in last commit
git show --stat HEAD

# Clean untracked files (dry run first!)
git clean -nd && git clean -fd

Docker One-Liners

# Remove all stopped containers + unused images
docker system prune -af

# Shell into running container
docker exec -it $(docker ps -qf "name=myapp") bash

# Show logs since 1 hour ago
docker logs --since=1h myapp

# Resource usage live
docker stats --format "table {{.Name}}\t{{.CPUPerc}}\t{{.MemUsage}}"

Kubernetes One-Liners

# Get all resources in namespace
kubectl get all -n production

# Watch pod restarts
kubectl get pods -w --all-namespaces | grep -v Running

# Debug with temporary pod
kubectl run -it --rm debug --image=busybox --restart=Never -- sh

# Get events sorted by time
kubectl get events --sort-by='.lastTimestamp' -A

🀝 Contributing

Contributions are welcome! Please:

  1. Fork the repository
  2. Create a feature branch: git switch -c add/topic-name
  3. Follow the existing file format and cross-linking style
  4. Include at least one Mermaid diagram for architecture topics
  5. Add the new file to 00_INDEX.md
  6. Submit a Pull Request with a clear description

File Naming Convention

NN_Topic_Name.md    e.g. 46_Git_Advanced.md

File Template

# NN β€” Topic Name

> **[← Index](00_INDEX.md)** | **Related: [File A](XX_File_A.md) Β· [File B](XX_File_B.md)**

---

## Section 1

Content...

---

## Related Topics
- [Related Topic ←](XX_Related.md)

---

> [Index](00_INDEX.md)

πŸ“„ License

This project is licensed under the MIT License β€” see the LICENSE file for details.

You are free to:

  • βœ… Use for personal study and reference
  • βœ… Share with colleagues and students
  • βœ… Fork and extend for your own needs
  • βœ… Use in commercial training material (with attribution)

πŸ™ Acknowledgements

These notes draw on knowledge from:

  • Official documentation: Linux man pages, Microsoft Docs, AWS Docs, Kubernetes Docs
  • Tools: Nginx, Postfix, Elasticsearch, Prometheus, Terraform, Ansible
  • Standards: RFC documents, CIS Benchmarks, OWASP, FHS

⭐ If this helped you, please star the repository!

Built with ❀️ for the sysadmin and DevOps community

About

πŸ“š Comprehensive System Administration & DevOps study notes β€” 21 topics, 22 markdown files, 8000+ lines. Covers Linux/Windows OS, networking, Active Directory, security, Git, cloud, and more. Fully cross-linked with diagrams.

Topics

Resources

License

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors