Skip to content

A clone of linux simple shell done during ALX SE programme

Notifications You must be signed in to change notification settings

Hullaah/simple_shell

Repository files navigation

simple_shell

This is repository contains my implementation of a simple Linux shell in C. This project is designed to:

  • Learn: Gain practical experience with operating system concepts and system programming.
  • Challenge: Implement core functionalities of a shell, including parsing commands, handling input/output, and executing programs.
  • Grow: Develop problem-solving and coding skills through a hands-on project.

Features:

  • Interactive Prompt: Accept users command and displays input
  • Non-Interactive mode: Works in non-intractive mode also like the linux shell
  • Command execution: Runs all linux commands that can be executed by the linux simple shell except some built-ins command like alias

Building and Running:

  1. Clone the repository:
git clone https://github.com/Hullaah/simple_shell
  1. Install required dependencies:
sudo apt install build-essential
  1. Build the Project:
gcc -Wall -Werror -Wextra -pedantic -std=gnu89 *.c -o hsh
  1. Run the executable:
./hsh

Testing:

You can test the shell by running various Linux commands and checking the output. You can also write your own test script to ensure functionality.

Contributing:

I welcome contributions to this project. Please feel free to open pull requests with bug fixes, improvements, or new features.

Disclaimer:

This project is for educational purposes only and is not intended to be a fully functional shell replacement. It may not support all features of a real shell and may have limitations.

Further resources

About

A clone of linux simple shell done during ALX SE programme

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages