Skip to content

Jackdehaan/minishell

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

110 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Minishell

Minishell is a shell implementation inspired by the functionalities of the bash shell. This project is part of the 42 Network curriculum and aims to enhance understanding of process management, command execution, and signal handling in a Unix-like environment.

Minishell Screenshot

Features

  • Command Execution: Execute simple commands and built-in commands.
  • Piping: Support for piping between commands using |.
  • Redirection: Handle input and output redirection using > and <.
  • Environment Variables: Access and manage environment variables.
  • Built-in Commands: Implement built-in commands such as cd, exit, and env.
  • Signal Handling: Proper handling of signals like Ctrl+C and Ctrl+D.

Installation

To compile and run Minishell, follow these steps:

  1. Clone the repository:
    git clone git@github.com:Jackdehaan/minishell.git
  2. Compile minishell
    make
  3. Execute minishell:
    ./minishell

About

This repository contains a shell built from scratch in C. The syntax and features are based on Bash. Built in collaboration with @rubenfin at Codam

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • C 98.7%
  • Makefile 1.3%