Skip to content

Hyun-Soon/MiniShell

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

6 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

MiniShell

πŸ“Œ Description

Minishell is a simple shell program inspired by Bash. It replicates key functionalities of a shell, including command execution, piping, and signal handling.

Image

πŸ“œ Prerequisites

To compile and run this program, you'll need:

  • A C/C++ compiler (e.g., GCC)
  • readline library (e.g., brew install readline)
  • Make (optional, for easier compilation)

βš™οΈ Technologies Used

  • Pipe: Implements inter-process communication.
  • Signal: Handles system signals for process control.
  • fork(): Creates child processes to execute commands.

πŸš€ How to Run

  1. Clone the repository:
    git clone https://github.com/Hyun-Soon/MiniShell.git
    cd MiniShell
  2. Compile the project:
    make
  3. Run the shell:
    ./minishell

πŸ›  Features

  • Executes basic shell commands.
  • Supports pipes (|) for command chaining.
  • Handles signals like Ctrl+C and Ctrl+D.
  • Manages child processes using fork().

πŸ™Œ Collaborator

μž„ν˜„μˆœ ꡬ혁λͺ¨
μž„ν˜„μˆœ ꡬ혁λͺ¨

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published