https://github.com/eslam-abdo/linux-femto-shell
Assignments of learning (System Programming in Linux) study group under the supervision of Eng. Reda Maher.
https://github.com/eslam-abdo/linux-femto-shell
c linux shell system-programming
Last synced: about 2 months ago
JSON representation
Assignments of learning (System Programming in Linux) study group under the supervision of Eng. Reda Maher.
- Host: GitHub
- URL: https://github.com/eslam-abdo/linux-femto-shell
- Owner: Eslam-Abdo
- License: gpl-3.0
- Created: 2022-09-19T09:47:47.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2023-03-25T12:43:27.000Z (over 3 years ago)
- Last Synced: 2025-06-09T10:42:58.062Z (about 1 year ago)
- Topics: c, linux, shell, system-programming
- Language: C
- Homepage:
- Size: 1.37 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Introduction to System Programming in Linux
This repository contains the solutions to the assignments from the [Introduction to System Programming in Linux](https://www.youtube.com/playlist?list=PLOBLIyu46FvPlBaAdPrzLqOx6O5rowI9I) playlist on YouTube by Eng. [Reda Maher](https://www.linkedin.com/in/redamaher/)!
This playlist is designed to help you understand the basics of system programming in Linux and how to write efficient programs using system calls in C.
## Course Overview
This course covers the following topics:
- An introduction to Linux system programming
- Understanding the Linux kernel and system calls
- File I/O and process management in Linux
- Partion table
- And more.
## Assignments
To enhance your learning experience, we have included five assignments that will help you implement the Femto shell using C system calls. The assignments are as follows:
1. **Assignment 1:** Implement a basic shell program that can echoes any command entered by the user.
2. **Assignment 2:** Extend the basic shell to support some Unix Utilities (pwd, echo, cp, mv).
3. **Assignment 3:** Add support for external commands and local & environment variables .
4. **Assignment 4:** Implement a program similar to ``fdisk -l``.
5. **Assignment 5:** Implement a program for ``ls`` command.
## Course Requirements
To follow along with this course, you will need:
- A basic understanding of C programming language
- A Linux machine or virtual machine (e.g., Ubuntu, Debian, CentOS, etc.) to run the code examples and complete the assignments
- A text editor (e.g., Vim, Emacs, Nano, etc.) to write C code
- A terminal emulator (e.g., GNOME Terminal, Konsole, xterm, etc.) to compile and run the code
## Conclusion
We hope you find this course useful and informative. By the end of this course, you should be able to write efficient system programs using C system calls in Linux. Good luck and have fun!