GitHunt
RA

RangeshPandianPT/OS-Basics-to-Advanced

This repository contains C and shell scripts for OS basics to advanced topics, including scheduling algorithms, process and thread creation, synchronization, Linux command automation, and classical OS problems.

OS-Basics-to-Advanced

A comprehensive collection of Linux shell scripts and command guides designed to help students and beginners understand Operating System (OS) fundamentals — from basic commands to advanced shell programming.


Repository Contents

File Name Description
Linux_Basic_Commands.sh Contains frequently used Linux commands for beginners — file handling, directory management, and system navigation.
Filters_Admin_Commands.sh Includes filter commands (grep, awk, sed, etc.) and essential system administration commands for managing users, processes, and files.
Shell_Programs.sh Covers shell scripting examples — variables, loops, conditionals, functions, and file handling — to help automate system tasks.
Dining Philosophers Problem.c C program implementation of the classical Dining Philosophers synchronization problem, illustrating deadlock and resource allocation concepts.
Mutual_Exclusion.c Demonstrates mutual exclusion mechanisms in C to prevent race conditions during concurrent execution.
Process_Creation.c Program showcasing process creation using fork(), including parent–child relationships and process management.
Thread_Creation.c C program that demonstrates thread creation using pthread library and basic multithreading concepts.

Prerequisites

To run these scripts, you’ll need:

  • 🐧 A Linux environment (Ubuntu, Fedora, or any distro)
  • Basic understanding of shell commands
  • Execution permissions (chmod +x <filename>.sh)

How to Use

  1. Clone this repository:
    git clone https://github.com/RangeshPandianPT/OS-Basics-to-Advanced.git
    

cd OS-Basics-to-Advanced

Give execution permission:

chmod +x <script_name>.sh

Run the script:

./<script_name>.sh


Topics Covered

  • Basic Linux Commands

  • File & Directory Management

  • User & Process Administration

  • Shell Programming Fundamentals

  • Filters and Piping

  • Control Structures and Loops

  • Automation Scripts


Author

Rangesh Pandian PT
📍 SRM Institute of Science and Technology
🎓 Passionate about OS, Automation, and Software Development.

Languages

C79.2%Shell20.8%

Contributors

Created November 5, 2025
Updated November 24, 2025
RangeshPandianPT/OS-Basics-to-Advanced | GitHunt