https://github.com/raihan4520/os
Lab work for the Operating Systems course at AIUB, featuring shell scripts and tasks on process management and memory allocation, executed on a macOS terminal.
https://github.com/raihan4520/os
operating-systems shell-scripting unix-systems
Last synced: 7 months ago
JSON representation
Lab work for the Operating Systems course at AIUB, featuring shell scripts and tasks on process management and memory allocation, executed on a macOS terminal.
- Host: GitHub
- URL: https://github.com/raihan4520/os
- Owner: Raihan4520
- Created: 2024-09-29T19:07:23.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-09-30T12:37:44.000Z (about 1 year ago)
- Last Synced: 2025-01-13T14:24:08.165Z (9 months ago)
- Topics: operating-systems, shell-scripting, unix-systems
- Language: Shell
- Homepage: https://www.aiub.edu/faculties/fst/ug-course-catalog
- Size: 7.69 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Operating Systems (OS) Lab Work
This repository contains my lab work for the **Operating Systems** course at **American International University - Bangladesh (AIUB)**. All labs were conducted on my **macOS** machine using the terminal (CLI). Since macOS and Linux are both UNIX-based, I was allowed to use my macOS terminal, as it supports most of the same commands as Linux.
### Course Information
For more details on the course, refer to the [AIUB Undergraduate Course Catalog](https://www.aiub.edu/faculties/fst/ug-course-catalog).
*Note: Search for "Operating Systems" for specific course information.*## Repository Structure
The repository is organized into two sections: **Mid Term** and **Final Term**, with respective labs and tasks. Shell scripts (`.sh` files) created during the course are also included.
The repository is organized as follows:
```bash
.
├── Final
│ └── Lab
│ ├── Lab8
│ │ ├── Lab8_task
│ │ │ ├── task1_instruction_lab8.jpg
│ │ │ ├── task1_instruction_lab8.txt
│ │ │ ├── task1_lab8.sh
│ │ │ ├── task1_lab8_SS.jpg
│ │ │ ├── task2_instruction_lab8.txt
│ │ │ ├── task2_lab8.sh
│ │ │ └── task2_lab8_SS.jpg
│ │ ├── floatingPoint.sh
│ │ └── readInput.sh
│ ├── lab10
│ │ ├── Screen Shot 2022-11-30 at 11.17.00 AM.jpg
│ │ ├── lab10-part1.jpg
│ │ ├── lab10-part2.jpg
│ │ └── loop.sh
│ ├── lab12
│ │ ├── fibonacci.sh
│ │ ├── fibonacci_SS.jpg
│ │ ├── func1.sh
│ │ ├── func2.sh
│ │ ├── func3.sh
│ │ ├── func4.sh
│ │ ├── maxNumber.sh
│ │ ├── maxNumber_SS.jpg
│ │ ├── prime.sh
│ │ ├── prime_SS.jpg
│ │ ├── simpleCalc.sh
│ │ ├── simpleCalc_SS.jpg
│ │ └── test.sh
│ └── lab9
│ ├── helloworld.sh
│ ├── task1_lab9_if_else.sh
│ ├── task1_lab9_if_else_SS.jpg
│ ├── task2_lab9_switchCase2.sh
│ ├── task2_lab9_switchCase2_SS.jpg
│ ├── task2_lab9_switch_case.sh
│ ├── task3_lab9_menu.sh
│ ├── task3_lab9_menu_SS.jpg
│ └── task3_lab9_menu_question.jpg
├── Mid
│ └── Lab
│ ├── lab1
│ │ ├── file.txt
│ │ ├── test
│ │ ├── test.c
│ │ ├── test.cpp
│ │ ├── test.py
│ │ ├── test.txt
│ │ ├── test1
│ │ ├── test2
│ │ └── test3
│ ├── lab2
│ │ ├── backup
│ │ │ └── test1.txt
│ │ ├── lab2-task
│ │ │ ├── Barcelona
│ │ │ │ └── teambcn.txt
│ │ │ ├── Real-Madrid
│ │ │ │ └── teamrm.txt
│ │ │ └── backup
│ │ │ ├── teambcn-bac.txt
│ │ │ └── teamrm-bac.txt
│ │ ├── lab2-task.txt
│ │ ├── s.txt
│ │ └── slist3.txt
│ ├── lab4
│ │ ├── slist-id-name.txt
│ │ ├── slist.txt
│ │ ├── slist.txt.png
│ │ └── test.txt
│ └── lab5
│ ├── hello
│ ├── hello.c
│ ├── slist.txt
│ └── temp
└── README.md
```### Key Components
- **Mid Term Lab Work**: Labs that cover topics like basic shell commands, process management, and introductory scripting.
- **Final Term Lab Work**: Labs focused on advanced topics such as inter-process communication, memory management, and file systems.
- **Scripts**: A collection of shell scripts written during the course, demonstrating practical operating system concepts.## Prerequisites
To run these scripts, you will need a UNIX-based environment such as macOS or Linux.
## How to Run
1. Clone the repository:
```bash
git clone https://github.com/Raihan4520/OS.git
cd OS
```2. Make a script executable:
```bash
chmod +x script_name.sh
```3. Run the script:
```bash
./script_name.sh
```## Contact
If you have any questions or suggestions, feel free to reach out through the repository's issues or contact me directly.