joleksia /
42-minishell
As beautiful as a shell
38/100 healthLoading repository data…
khalil-sohail / repository
Minishell As beautiful as a shell, This project is about creating a simple shell. Yes, my own little bash.
A transparent discovery signal based on current public GitHub metadata.
This score does not audit code, security, maintainers, documentation quality, or suitability. Verify the repository and its current documentation before adoption.
minishell is a simple UNIX shell developed as part of the 42 School curriculum. It mimics the behavior of bash with a subset of its features, providing a command-line interface for interacting with the operating system.
< for input redirection.> for output redirection.<< for heredoc.>> for appending output redirection.| to connect the output of one command to the input of another.$? for the last executed command's exit status.$_ for the last argument of the previous command executed.ctrl-C, ctrl-D, and ctrl-\.
ctrl-C displays a new prompt on a new line.ctrl-D exits the shell.ctrl-\ does nothing.echo with -n option.cd with relative or absolute paths.pwd without options.export without options.unset without options.env without options or arguments.exit without options.echo [-n] [string ...]: Prints the string to the standard output.cd [path]: Changes the current directory to the specified path.pwd: Prints the current working directory.export [name[=value] ...]: Sets environment variables.unset [name ...]: Unsets environment variables.env: Prints the environment variables.exit: Exits the shell.git clone https://github.com/yourusername/minishell.git
cd minishell
make
make clean
./minishell
ctrl-D to exit.minishell$ echo "Hello, World!"
Hello, World!
minishell$ pwd
/home/yourusername/minishell
minishell$ export MYVAR="Hello"
minishell$ echo $MYVAR
Hello
minishell$ ls | grep minishell
minishell
minishell$ cat < input.txt > output.txt
minishell$ echo $_
output.txt
minishell/
├── include/
│ ├── minishell.h
│ ├── banner.png
├── src/
│ ├── *.c
├── Libft/
│ ├── *.c
│ ├── *.h
├── Makefile
├── README.md
Selected from shared topics, language and repository description—not editorial ratings.
joleksia /
As beautiful as a shell
38/100 healthThfirmin /
As beautiful as a shell
19/100 health