Minishell is a simple implementation of a UNIX shell, designed to replicate basic shell functionality and reinforce concepts of system programming.
- Command parsing and execution.
- Built-in commands: cd, pwd, echo, exit.
- Environment variable support ($VARIABLE).
- Input/output redirection (<, >, >>) and piping (|).
- Graceful signal handling (Ctrl+C, Ctrl+D).
- Error handling with descriptive messages.
- UNIX-like operating system (Linux, macOS, etc.).
- C compiler (e.g., gcc).
- Clone the repository
- Compile the project using Make
- Run the shell
- Launch the shell by running
./minishell. - Enter commands as you would in a standard shell.
- Use
exitto quit the shell.
- $ pwd
- $ cd ..
- $ echo "Welcome to Minishell" Welcome to Minishell
- $ ls -l | grep minishell > output.txt
- $ cat output.txt