Skip to content

raonieqr/Minishell

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

94 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •