{"id":22406670,"url":"https://github.com/mvpee/42-minishell","last_synced_at":"2026-04-10T02:37:06.141Z","repository":{"id":217018951,"uuid":"742942800","full_name":"MVPee/42-minishell","owner":"MVPee","description":"This project is about creating a simple shell. Yes, your own little bash. You will learn a lot about processes and file descriptors.","archived":false,"fork":false,"pushed_at":"2024-10-03T12:59:21.000Z","size":893,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-26T05:04:48.320Z","etag":null,"topics":["19","42","bash","minishell","pipe","pipeline","pipex","processing","redirection","shell"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/MVPee.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-01-13T20:34:49.000Z","updated_at":"2024-10-03T12:59:25.000Z","dependencies_parsed_at":null,"dependency_job_id":"518eb7a5-f000-4ab2-8977-ff5012243f50","html_url":"https://github.com/MVPee/42-minishell","commit_stats":null,"previous_names":["mvpee/42-minishell"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/MVPee/42-minishell","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MVPee%2F42-minishell","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MVPee%2F42-minishell/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MVPee%2F42-minishell/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MVPee%2F42-minishell/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MVPee","download_url":"https://codeload.github.com/MVPee/42-minishell/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MVPee%2F42-minishell/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":281059632,"owners_count":26437061,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-26T02:00:06.575Z","response_time":61,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["19","42","bash","minishell","pipe","pipeline","pipex","processing","redirection","shell"],"created_at":"2024-12-05T11:09:30.492Z","updated_at":"2025-10-26T05:04:50.881Z","avatar_url":"https://github.com/MVPee.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003e\n\t:shipit: 42-minishell\n\u003c/h1\u003e\n\n\u003cp align=\"center\"\u003e\n\t\u003cimg alt=\"GitHub code size in bytes\" src=\"https://img.shields.io/github/languages/code-size/MVPee/42-minishell?color=lightblue\" /\u003e\n\t\u003cimg alt=\"Code language count\" src=\"https://img.shields.io/github/languages/count/MVPee/42-minishell?color=yellow\" /\u003e\n\t\u003cimg alt=\"GitHub top language\" src=\"https://img.shields.io/github/languages/top/MVPee/42-minishell?color=blue\" /\u003e\n\t\u003cimg alt=\"GitHub last commit\" src=\"https://img.shields.io/github/last-commit/MVPee/42-minishell?color=green\" /\u003e\n\u003c/p\u003e\n\n\u003ch3 align=\"center\"\u003e\n\t\u003ca href=\"#-about\"\u003eAbout\u003c/a\u003e\n\t\u003cspan\u003e · \u003c/span\u003e\n\t\u003ca href=\"#-running\"\u003eRunning\u003c/a\u003e\n\t\u003cspan\u003e · \u003c/span\u003e\n\t\u003ca href=\"#-features\"\u003eFeatures\u003c/a\u003e\n\u003c/h3\u003e\n\n\n# 💡 About\n\u003eAs beautiful as a shell\n\nThis project is about creating a simple shell. Yes, your own little bash. You will learn a lot about processes and file descriptors.\n\n## 🚀 Running\n\u003eYou need to install readline\n```\nsudo apt-get update\nsudo apt-get install libreadline-dev\n```\n```bash\nmake run\n```\nIt will automatically compile the project and run it.\n```bash\n./minishell\n```\nWill launch the previously compiled project with `make` and run it.\n\n------------\n\n## 📜 Features\n\n- **History**  \n  -- Working history\n\n- **`\\`**  \n  -- Supports escaping characters with backslashes for proper command interpretation\n\n- **`'` `\"`**  \n  -- Supports proper parsing of single and double quotes for string handling\n\n- **Redirections**  \n  -- Supports input (`\u003c`), here-doc (`\u003c\u003c`), output (`\u003e`), and append (`\u003e\u003e`) redirections\n\n- **Environnemts variables**  \n  -- Supports retrieving, setting, and expanding environment variables\n\n- **`$?`**  \n  -- Displays the exit status of the last executed command\n\n- **Signals**  \n  -- Handles signals like CTRL-C (`interrupt`), CTRL-D (`EOF`), and CTRL-\\ (`quit`)\n\n- **Builtins**  \n  -- `echo` with -n option  \n  -- `cd` with relative, absolute, and `- ($OLDPWD)` paths  \n  -- `pwd`  \n  -- `export`  \n  -- `unset`  \n  -- `env`  \n  -- `exit`  \n\n- **Others**  \n  -- *`$SHLEVEL`*  \n    Increments `SHLVL` by one. Sets it to one if `SHLVL` is invalid (not between 1 and 999)  \n  -- *`$PWD`*  \n    Updates `PWD` to reflect the current directory after a `cd` command or if no `PWD` is present in the environment  \n  -- *`$OLDPWD`*  \n    Updates `OLDPWD` after a `cd` command or if no `OLDPWD` is present in the environment  \n  -- *Prompt*  \n    A beautiful, colorful prompt that displays the current `PWD` at the beginning  \n\n\u003cp align=\"center\"\u003e\n\t\u003cimg src=\"./.imgs/screenshot.png\" width=650\u003e\n\u003c/p\u003e\n\n---\n\nThis group project was done by [MVPee](https://github.com/MVPee) and [Nour Echaara](https://github.com/noureh10)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmvpee%2F42-minishell","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmvpee%2F42-minishell","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmvpee%2F42-minishell/lists"}