Skip to content

Simplified Unix/Linux shell built in C that emulates the behavior of a native terminal.

License

Notifications You must be signed in to change notification settings

CuB1z/MiniShell

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

50 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MiniShell 🚀

Minishell is a simplified Unix/Linux shell built in C that emulates the behavior of a native terminal. It provides a functional command-line interface for executing commands, managing processes, and handling input/output.

📝 Table of Contents

🚀 Getting Started

To get a local copy up and running follow these simple steps.

📦 Prerequisites

Before you begin, ensure you have met the following requirements:

  • You have a Unix/Linux operating system.
  • You have gcc installed on your system.
  • You have basic knowledge of C programming.

🛠️ Installation

  1. Clone the repository:
    git clone https://github.com/CuB1z/MiniShell.git
  2. Navigate to the project directory:
    cd MiniShell
  3. Compile the project by running Compile.sh script:
    ./Compile.sh

📚 Features

  • ⚙️ Command Execution: Execute built-in and external commands.
  • 🚦 Signal Handling: Handle signals like Ctrl+C and Ctrl+Z.
  • 🛠️ Job Control: Manage foreground and background jobs.
  • 🔄 Input/Output Redirection: Redirect input and output to files.
  • 🔗 Pipelines: Support for command pipelines.
  • 💻 Custom Prompt: Display a custom prompt with user and directory information.

🔧 Usage

Run the main executable file (main):

./main

📜 Credits

Name GitHub LinkedIn
Diego Sánchez @CuB1z Diego Sánchez
Daniel Santos @danisntoss Daniel Santos

📚 License

By Diego Sánchez and Daniel Santos.

This project is licensed under a Creative Commons CC0 1.0 Universal License.

You should have received a copy of the license along with this work. If not, see http://creativecommons.org/publicdomain/zero/1.0/.

About

Simplified Unix/Linux shell built in C that emulates the behavior of a native terminal.

Topics

Resources

License

Stars

Watchers

Forks