{"id":19372837,"url":"https://github.com/babreton/42-minishell","last_synced_at":"2025-08-25T18:43:12.065Z","repository":{"id":193032219,"uuid":"663069801","full_name":"BaBreton/42-Minishell","owner":"BaBreton","description":"Minishell project at 42 school","archived":false,"fork":false,"pushed_at":"2023-09-07T14:00:58.000Z","size":39,"stargazers_count":6,"open_issues_count":0,"forks_count":3,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-27T08:45:05.848Z","etag":null,"topics":["42","42-minishell","42cursus","42minishell","42projects","42school","bash","minishell","minishell-42","minishell42","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/BaBreton.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":"2023-07-06T13:40:15.000Z","updated_at":"2024-09-21T10:28:43.000Z","dependencies_parsed_at":"2024-11-10T08:31:30.256Z","dependency_job_id":"80cc8eaf-b319-478b-981a-100e649eb955","html_url":"https://github.com/BaBreton/42-Minishell","commit_stats":null,"previous_names":["babreton/minishell","babreton/42-minishell"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BaBreton%2F42-Minishell","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BaBreton%2F42-Minishell/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BaBreton%2F42-Minishell/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BaBreton%2F42-Minishell/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/BaBreton","download_url":"https://codeload.github.com/BaBreton/42-Minishell/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248756047,"owners_count":21156700,"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","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":["42","42-minishell","42cursus","42minishell","42projects","42school","bash","minishell","minishell-42","minishell42","shell"],"created_at":"2024-11-10T08:25:29.344Z","updated_at":"2025-04-13T17:42:43.403Z","avatar_url":"https://github.com/BaBreton.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n  \u003cimg src=\"https://github.com/BaBreton/42-Get_next_line/assets/124448529/43a36b92-4c44-4c58-b03c-b18903712b45\" alt=\"BaBreton\" /\u003e\n\u003c/p\u003e\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"https://img.shields.io/badge/Language-C-blue\" alt=\"language\" /\u003e\n  \u003cimg src=\"https://img.shields.io/badge/Mark-100/100-green\" alt=\"language\" /\u003e\n\u003c/p\u003e\n\n# 42-Minishell\n\nMinishell is a 42 school project that involves reimplementing a \"mini\" bash terminal. In this project, I've re-implemented the following built-in functions:\n\n* 'echo' (with '-n' option)\n* 'cd' (with relative or absolute path)\n* 'pwd' (without options)\n* 'export' (without options)\n* 'unset' (without options)\n* 'env' (without options or arguments)\n* 'exit' (without options)\n\n\n\nI've also had to reimplement the following features :\n\n* Redirections (in and out to a file)\n* Multi commands with pipes\n* Manage the environment variables : you can use the '$' with 'echo' or in your redirections to print environment variables.\n* Handling signals : 'ctrl-c' and 'ctrl-d'\n\n## Installation \n\nTo create the executable, navigate to the root folder of the project and use the following command:\n\n```bash\n  make\n```\n\nThen, you can run the program with:\n\n```bash\n  ./minishell\n```\n\n## Usage\n\nNow that you are in the program, you can enter various bash commands !\n\n\u003cdiv style=\"display:flex; justify-content:center; align=\"center\"\u003e\n  \u003cimg src=\"https://github.com/BaBreton/42-Minishell/assets/124448529/5577b22d-7daa-4330-af86-0a05d3451e37\" width=\"300px\" style=\"margin:5px;\"\u003e\n  \u003cimg src=\"https://github.com/BaBreton/42-Minishell/assets/124448529/51364197-0e89-4142-b0a0-6218c64da257\" width=\"300px\" style=\"margin:5px;\"\u003e\n  \u003cimg src=\"https://github.com/BaBreton/42-Minishell/assets/124448529/d8fad4a1-7322-4f63-9c6d-a2de341d0db7\" width=\"300px\" style=\"margin:5px;\"\u003e\n\u003c/div\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbabreton%2F42-minishell","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbabreton%2F42-minishell","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbabreton%2F42-minishell/lists"}