{"id":21446130,"url":"https://github.com/ruzafa8/minishell","last_synced_at":"2026-04-19T06:48:51.712Z","repository":{"id":185106783,"uuid":"621873462","full_name":"ruzafa8/minishell","owner":"ruzafa8","description":"A simple Unix shell implementation in C. Supports basic commands, piping, redirection, and signal handling. Ideal for learning shell scripting and process management. It's a 42 School Project.","archived":false,"fork":false,"pushed_at":"2024-06-21T22:05:26.000Z","size":226,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-08-22T11:51:42.178Z","etag":null,"topics":["42","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/ruzafa8.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-03-31T15:13:19.000Z","updated_at":"2024-11-25T22:09:59.000Z","dependencies_parsed_at":"2024-11-23T04:15:08.997Z","dependency_job_id":null,"html_url":"https://github.com/ruzafa8/minishell","commit_stats":null,"previous_names":["ruzafa8/minishell"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/ruzafa8/minishell","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ruzafa8%2Fminishell","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ruzafa8%2Fminishell/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ruzafa8%2Fminishell/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ruzafa8%2Fminishell/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ruzafa8","download_url":"https://codeload.github.com/ruzafa8/minishell/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ruzafa8%2Fminishell/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31997804,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-18T20:23:30.271Z","status":"online","status_checked_at":"2026-04-19T02:00:07.110Z","response_time":55,"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":["42","c","minishell","shell"],"created_at":"2024-11-23T02:42:01.762Z","updated_at":"2026-04-19T06:48:51.694Z","avatar_url":"https://github.com/ruzafa8.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Minishell\n\nA simple Unix shell implementation in C. This project supports basic commands, piping, redirection, and signal handling. It's an ideal project for learning shell scripting and process management.\n\n## Features\n\n- Execute basic Unix commands\n- Handle command piping (`|`)\n- Support for input and output redirection (`\u003c`, `\u003e`, `\u003e\u003e`)\n- Support for heredoc (`\u003c\u003c`)\n- Signal handling (e.g., `Ctrl+C`)\n- Simple history of command\n- Built-ins such as `cd`. `pwd`. `env`, `export`, `unset`, ...\n\n## Getting Started\n\n### Prerequisites\n\n- GCC (GNU Compiler Collection)\n- Make\n\n### Installation\n\nClone the repository:\n\n```sh\ngit clone https://github.com/ruzafa8/minishell.git\ncd minishell\n```\n\nCompile the minishell:\n\n```sh\nmake\n```\n\n### Usage\n\nRun the minishell:\n\n```sh\n./minishell\n```\n\n### Examples\n\n- Running a basic command:\n\n  ```sh\n  minishell$ ls -l\n  ```\n\n- Using command piping:\n\n  ```sh\n  minishell$ ls -l | grep minishell\n  ```\n\n- Redirecting output to a file:\n\n  ```sh\n  minishell$ echo \"Hello, World!\" \u003e hello.txt\n  ```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fruzafa8%2Fminishell","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fruzafa8%2Fminishell","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fruzafa8%2Fminishell/lists"}