Skip to content

This project is About Recoding BASH Commands Interpreter From Scratch with C Language

Notifications You must be signed in to change notification settings

hel-mefe/Minishell-42

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

58 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Minishell

Minishell is a lightweight shell program built with C that mimics the functionality of the Bash shell. It provides users with a command-line interface for executing various commands and managing processes.

Features

Command execution: Execute built-in shell commands and external programs. Redirection: Redirect input and output streams using redirection operators. Pipelines: Create pipelines to connect the output of one command to the input of another. Environment variables: Manage environment variables and access their values. Signal handling: Handle signals such as SIGINT (Ctrl+C) and SIGQUIT (Ctrl+).

Getting Started

To compile and run Minishell on your system, follow these steps:

  1. Clone the Minishell repository to your local machine.
  2. Navigate to the project directory.
  3. Run the make command to compile the source code.
  4. Execute the compiled minishell binary to start the shell. Usage
  5. Once Minishell is running, you can use it just like any other shell program. Here are some basic usage examples:

Run built-in shell commands such as cd, echo, and exit. Execute external programs by typing their names followed by any arguments. Use redirection operators (>, <, >>) to manage input and output streams. Create pipelines using the | symbol to chain multiple commands together. Contributing Contributions to Minishell are welcome! If you find any bugs or have suggestions for improvements, please open an issue or submit a pull request on GitHub.

About

This project is About Recoding BASH Commands Interpreter From Scratch with C Language

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published