{"id":19893660,"url":"https://github.com/osmosx/minishell","last_synced_at":"2026-04-28T12:02:16.645Z","repository":{"id":37955878,"uuid":"476644182","full_name":"osmosx/minishell","owner":"osmosx","description":"[minishell] project school 42. The goal of this project is to create a simple shell. You are going to learn a lot about processes and file descriptors.","archived":false,"fork":false,"pushed_at":"2022-09-05T16:25:25.000Z","size":820,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-08-24T19:46:15.987Z","etag":null,"topics":["bash","builtin-functions","linux","pipeline","processes","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/osmosx.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}},"created_at":"2022-04-01T08:50:17.000Z","updated_at":"2022-11-10T12:42:45.000Z","dependencies_parsed_at":"2022-07-18T01:30:40.742Z","dependency_job_id":null,"html_url":"https://github.com/osmosx/minishell","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/osmosx/minishell","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/osmosx%2Fminishell","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/osmosx%2Fminishell/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/osmosx%2Fminishell/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/osmosx%2Fminishell/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/osmosx","download_url":"https://codeload.github.com/osmosx/minishell/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/osmosx%2Fminishell/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32379629,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-28T11:25:28.583Z","status":"ssl_error","status_checked_at":"2026-04-28T11:25:05.435Z","response_time":56,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["bash","builtin-functions","linux","pipeline","processes","shell"],"created_at":"2024-11-12T18:30:26.647Z","updated_at":"2026-04-28T12:02:16.628Z","avatar_url":"https://github.com/osmosx.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# minishell\n\n### Compilation:\n```bash\nmake\n```\n### Run: \n```bash\n./minishell\n```\n\n### Implemented\n- Builtins functions:\n    - `cd` with only a relative or absolute path.\n    - `pwd` with no options.\n    - `echo` with `-n` option.\n    - `export` with no options.\n    - `unset` with no options.\n    - `env` with no options.\n    - `exit` with no options.\n- Redirections:\n    - `\u003c` redirect input.\n    - `\u003e` redirect output.\n    - `\u003e\u003e`redirect output with append mode.\n- Pipes `|` the output of each command in the pipeline is connected via a pipe to theinput of the next command.\n- Environment variables (**$** followed by characters) expand to their values.\n- `$?` expands to the exit status of the most recently executed foreground pipeline.\n- Signals work like in bash. When interactive:\n    - `Ctrl + C` will print a new prompt on a newline.\n    - `Ctrl + D` will exit the shell.\n    - `Ctrl + \\` will do nothing.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fosmosx%2Fminishell","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fosmosx%2Fminishell","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fosmosx%2Fminishell/lists"}