/minishell

This project is about creating a simple shell. My own little shell 🐚

Primary LanguageC

minishell

🐚

features

pipes, semicolons, escape sequences, enviroment variables, $?, ~, redirections: > >> <

Builtins: cd, pwd, echo, export, unset, env, exit.

Signals: Ctrl-C, Ctrl-\, Ctrl-D.

Parser opens quotes ' " like in bash and handles \ even in ' " different context.

Commands work with absolute and relative paths.

Minishell writes errors to 2, output to 1 and prompt to 0. Acts as bash.

links

https://russianblogs.com/article/24991572048/
readline russianblogs
tutorial termcap
terminal
https://harm-smits.github.io/42docs/projects/minishell
https://adrienblanc.com/projects/42/minishell

docs

GNU libc
GNU bash
GNU termcap

guide

guide eLEGIJA
guide Ukio-G
https://github.com/Aisoipheo/21_42_wiki/tree/main/minishell#%D0%BC%D0%B0%D1%82%D0%B5%D1%80%D0%B8%D0%B0%D0%BB%D1%8B

video

https://www.youtube.com/watch?v=A7ccmRSn7JY&list=PLUJCSGGiox1R4wwUO0hS899uT02XDQIc_&index=1
https://www.youtube.com/watch?v=Um3pzuee-4Y&list=PLUJCSGGiox1R4wwUO0hS899uT02XDQIc_&index=2
https://www.youtube.com/watch?v=7B6o2YyvIKw&list=PLUJCSGGiox1R4wwUO0hS899uT02XDQIc_&index=3
https://www.youtube.com/watch?v=i49JO5YA08s&list=PLUJCSGGiox1R4wwUO0hS899uT02XDQIc_&index=4
https://www.youtube.com/watch?v=pRIXOy1OskE