Skip to content

Latest commit

 

History

History
38 lines (28 loc) · 1.13 KB

README.md

File metadata and controls

38 lines (28 loc) · 1.13 KB

Minishell 🐚

Minishell is a small C shell that allows you to run commands in the terminal. It provides a simple command line interface for users to interact with the operating system.

Installing Readline

To install Readline on Linux, just use the system package manager.
On Ubuntu, you can run the following command:

 sudo apt-get install libreadline-dev 

On macOS, you can use the Homebrew package manager:

brew install readline 

Compiling the Minishell

To compile Minishell, simply type the following command at the command line:

make

This will compile the source code and generate an executable file called a minishell.

Running the MiniShell

To run MiniShell, simply type the following command at the command line:

./minishell

This will launch the shell and you can start typing commands.

Supported Commands

Minishell supports basic shell commands such as cd, ls, echo, pwd, and exit. In addition, it also supports input and output redirection using > and < characters.

Contributing

If you want to contribute to Minishell, feel free to open a pull request. Every help is welcome!