{"id":25007792,"url":"https://github.com/anurag-ghosh-12/operating-systems--codespace","last_synced_at":"2026-05-16T17:11:35.635Z","repository":{"id":275784409,"uuid":"927171894","full_name":"Anurag-ghosh-12/Operating-Systems--Codespace","owner":"Anurag-ghosh-12","description":"Welcome to Operating System Exploration  — a deep dive into the inner workings of Linux, system calls, memory management, and process control.","archived":false,"fork":false,"pushed_at":"2025-03-08T11:44:05.000Z","size":153,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-08T12:27:05.556Z","etag":null,"topics":["c","linux","linux-kernel","operating-system","system-calls"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Anurag-ghosh-12.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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}},"created_at":"2025-02-04T14:25:03.000Z","updated_at":"2025-03-08T11:44:09.000Z","dependencies_parsed_at":null,"dependency_job_id":"146ac40f-7a78-457b-8456-67efbeb70969","html_url":"https://github.com/Anurag-ghosh-12/Operating-Systems--Codespace","commit_stats":null,"previous_names":["anurag-ghosh-12/operating-systems--codespace"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Anurag-ghosh-12%2FOperating-Systems--Codespace","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Anurag-ghosh-12%2FOperating-Systems--Codespace/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Anurag-ghosh-12%2FOperating-Systems--Codespace/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Anurag-ghosh-12%2FOperating-Systems--Codespace/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Anurag-ghosh-12","download_url":"https://codeload.github.com/Anurag-ghosh-12/Operating-Systems--Codespace/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246262474,"owners_count":20749164,"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":["c","linux","linux-kernel","operating-system","system-calls"],"created_at":"2025-02-05T02:37:44.751Z","updated_at":"2025-10-28T17:03:39.170Z","avatar_url":"https://github.com/Anurag-ghosh-12.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Operating System Exploration in C 🔧\n\nWelcome to **Operating System Exploration in C** — a deep dive into the inner workings of Linux, system calls, memory management, and process control. This repository is a step-by-step journey designed to bridge the gap between theory and hands-on practice, empowering you to understand how operating systems interact with hardware and manage resources.\n\n---\n\n## 🔢 What's Inside?\n\nThis repository is organized into **4 Days** of exploration, each building upon the previous day's knowledge. Whether you're a beginner curious about OS fundamentals or an advanced user wanting to dig deeper into system-level programming, this is the perfect place to start!\n\n### **Day 1 👨‍🔧 Basic Linux Commands**\n\nMaster the foundation of Linux with essential commands that are the backbone of system operations. This section covers:\n\n- Navigating the Linux filesystem\n- File and directory manipulation (creating, moving, deleting)\n- File permissions and ownership\n- Process management (using `ps`, `top`, `kill`)\n- Redirection, piping, and using wildcards\n\n\u003e **Outcome:** By the end of Day 1, you'll feel confident navigating Linux environments and using the terminal like a pro.\n\n---\n\n### **Day 2 🚀 Custom Master Boot Record (MBR)**\n\nUncover the secrets of the boot process by writing your very own **Master Boot Record (MBR)** in C. Dive into low-level programming and understand how your computer starts up before the OS even loads.\n\n- Write custom bootloader code\n- Understand memory segmentation and addressing\n- Experiment with bootable USB drives\n- Learn how BIOS hands control to the MBR\n\n\u003e **Outcome:** You'll have a solid grasp of how bootloaders function and will have created a custom MBR that you can run and modify.\n\n---\n\n### **Day 3 🧑‍💻 Process Management with `fork()` and `execve()`**\n\nExplore **process creation and execution** using two of the most powerful system calls in Linux: `fork()` and `execve()`. You'll learn how modern operating systems handle multitasking and process control.\n\n- Understand parent and child processes\n- Create zombie and orphan processes\n- Replace process images using `execve()`\n- Implement inter-process communication basics\n\n\u003e **Outcome:** By the end of Day 3, you'll know how to manage and control processes, spawn child processes, and replace process execution flows.\n\n---\n\n### **Day 4 🚜 Shared Memory and Advanced `execve()` Usage**\n\nStep into **advanced inter-process communication (IPC)** with **Shared Memory** and enhance your understanding of `execve()`.\n\n- Create and manage shared memory segments\n- Synchronize data between multiple processes\n- Deep dive into `execve()` and environment variables\n- Implement real-world IPC scenarios\n\n\u003e **Outcome:** You'll be able to write efficient C programs that share data across processes and understand the intricacies of process execution.\n\n---\n\n## 🔧 How to Get Started\n\n1. **Clone the repository:**\n\n```bash\ngit clone https://github.com/yourusername/os-exploration.git\ncd os-exploration\n```\n\n2. **Navigate by Day:**\n\n```bash\ncd \"day 1\"\n```\n\n3. **Compile and Run:**\n\nEach day's folder contains well-documented C programs. Compile them using `gcc`:\n\n```bash\ngcc program.c -o program\n./program\n```\n\n---\n\n## 💡 Why This Repo?\n\nThis repository isn't just about writing code; it's about **understanding** how things work under the hood. From basic commands to writing custom bootloaders and managing processes, you'll gain hands-on experience that demystifies the complexity of operating systems.\n\n---\n\n## 📢 Contributing\n\nFeel free to contribute by submitting issues, suggesting enhancements, or opening pull requests. Let's make this an even richer resource for OS enthusiasts! I would also love to collaborate on better documentation of this repository.\n\n---\n\n## 📆 Roadmap\n\n- ✅ Day 1: Basic Linux Commands\n- ✅ Day 2: Custom MBR\n- ✅ Day 3: `fork()` and `execve()`\n- ✅ Day 4: Shared Memory \u0026 Advanced `execve()`\n- ⏳ **Day 5 Coming Soon:** Signals and Interrupt Handling\n\n---\n\n## 🚀 Let's Get Started!\n\n\u003e \"Learning is not attained by chance, it must be sought for with ardor and attended to with diligence.\" — **Abigail Adams**\n\nDive into the fascinating world of operating systems and uncover the magic that powers our machines!\n\n---\n\n**Happy Exploring!** 🌌\n\nFeel free to explore these snippets and modify them as you learn!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanurag-ghosh-12%2Foperating-systems--codespace","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fanurag-ghosh-12%2Foperating-systems--codespace","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanurag-ghosh-12%2Foperating-systems--codespace/lists"}