Skip to content

A bash recreation made fully from scratch using the C language

Notifications You must be signed in to change notification settings

Anarbb/minishell

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Minishell - Your Personal Minimal Unix Shell Experience

Introduction

Welcome to Minishell, an interactive shell program designed to emulate the classic Unix shell environment. This project is a journey through the essentials of shell operations, offering insights into system processes, file descriptors, and command-line interactivity. Minishell is perfect for those who wish to explore the foundational aspects of Unix-like systems.


Installation

Prerequisites

  • GCC compiler
  • Make
  • Git (for cloning the repository)

Steps to Install

  1. Clone the repository:
git clone https://github.com/Anarbb/minishell.git
  • Navigate to the cloned directory:
cd minishell
  • Compile the project:
make

Usage

After installation, you can start using Minishell by running the following command in the terminal:

./minishell

Basic Command Execution

vid1-trim

Advanced Features

  • Command History Navigation

    vid2

  • File Redirection and Piping NewVideo2

  • Handling Environment Variables

    last


Features

  • Customizable command prompt
  • Command history
  • Executable search based on PATH variable
  • Handling of single and double quotes
  • Redirections (>, <, >>, <<) and pipes (|)
  • Environment variable support
  • Built-in commands: echo, cd, pwd, export, unset, env, exit
  • Signal handling (ctrl-C, ctrl-D, ctrl-\)

Credits and Acknowledgments

About

A bash recreation made fully from scratch using the C language

Topics

Resources

Stars

Watchers

Forks