{"id":22444905,"url":"https://github.com/rarakira/minishell","last_synced_at":"2026-05-04T03:34:55.766Z","repository":{"id":132770548,"uuid":"450185988","full_name":"rarakira/minishell","owner":"rarakira","description":"Simple shell project for 21 school (42)","archived":false,"fork":false,"pushed_at":"2022-06-07T12:06:17.000Z","size":8533,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-27T10:47:55.389Z","etag":null,"topics":["21school","born2code","ecole42","learning-c","minishell","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/rarakira.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":"2022-01-20T17:05:28.000Z","updated_at":"2022-12-08T16:00:25.000Z","dependencies_parsed_at":null,"dependency_job_id":"b47148d6-3124-4fd5-9bdd-61e94229adcc","html_url":"https://github.com/rarakira/minishell","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/rarakira/minishell","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rarakira%2Fminishell","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rarakira%2Fminishell/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rarakira%2Fminishell/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rarakira%2Fminishell/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rarakira","download_url":"https://codeload.github.com/rarakira/minishell/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rarakira%2Fminishell/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32593944,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-03T22:12:39.696Z","status":"online","status_checked_at":"2026-05-04T02:00:06.625Z","response_time":58,"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":["21school","born2code","ecole42","learning-c","minishell","shell"],"created_at":"2024-12-06T03:10:50.467Z","updated_at":"2026-05-04T03:34:55.760Z","avatar_url":"https://github.com/rarakira.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"_This is a **21 School/Ecole 42** Project. Worked in team with [Cflorind](https://github.com/splinehip)_\n\n# minishell\n\nCoding a simple CLI shell with basic functionality. Subject can be found [here](https://cdn.intra.42.fr/pdf/pdf/43461/en.subject.pdf).\n\n## Project goals\n\n* Understand the way shells work\n* Implement redirections, pipes, handle environment variables\n* Practice signal handling\n* Implement list of builtins\n\n![Preview](minishell.png)\n\n## Features\n\n### Basics:\n- History of previous entered commands\n- Search and launch the right executable (based on the `PATH` variable, using a relative or an absolute path)\n- Environment variables (`$` followed by a sequence of characters) expand to their values\n- Wildcards `*` in the current working directory\n- `ctrl-C`, `ctrl-D` and `ctrl-\\` behave like in bash\n- `’` (single quotes - prevent from interpreting meta-characters in quoted sequence)\n- `\"` (double quotes - prevent from interpreting meta-characters in quoted sequence except for $)\n- `$?` expands to the last exit status\n- `|` connect cmds or groups with pipes; output of a cmd is connected to the input of the next cmd via a pipe\n- `\u0026\u0026` and `||` with parenthesis for priorities\n\n### Builtins:\n- `echo` with option -n\n- `cd`\n- `pwd` without options\n- `export` without options\n- `unset` without options\n- `env` without options\n- `exit [exit_status]` without options\n\n### Redirections:\n`[n]` (optional) specifies the file descriptor, if not specified it is stdout/stdin\n- `[n]\u003c file` Redirecting Input\n- `[n]\u003c\u003c limiter` Here Documents\n- `[n]\u003e file` Redirecting Output\n- `[n]\u003e\u003e file` Appending Redirected Output\n\n## To compile and run\nRun the following commands in Terminal:\n```shell\n# to build\n\u003e make\n\n# to run\n\u003e ./minishell \n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frarakira%2Fminishell","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frarakira%2Fminishell","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frarakira%2Fminishell/lists"}