{"id":18308917,"url":"https://github.com/guiribei/my_shell","last_synced_at":"2026-04-12T11:34:16.016Z","repository":{"id":65461021,"uuid":"572232203","full_name":"Guiribei/my_shell","owner":"Guiribei","description":"A lightweight, reduced version of the Bash shell written in C.","archived":false,"fork":false,"pushed_at":"2023-07-26T12:47:52.000Z","size":295,"stargazers_count":1,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-09T11:47:33.488Z","etag":null,"topics":["bash","builtin-functions","c","execve","forks","linux","pipes","processes","shell","signals"],"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/Guiribei.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-11-29T20:42:35.000Z","updated_at":"2024-08-20T23:52:13.000Z","dependencies_parsed_at":"2025-02-15T05:27:44.789Z","dependency_job_id":"ee4f44a2-ac43-480d-a4a3-7f0ff9e782df","html_url":"https://github.com/Guiribei/my_shell","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Guiribei/my_shell","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Guiribei%2Fmy_shell","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Guiribei%2Fmy_shell/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Guiribei%2Fmy_shell/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Guiribei%2Fmy_shell/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Guiribei","download_url":"https://codeload.github.com/Guiribei/my_shell/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Guiribei%2Fmy_shell/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31713876,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-12T06:22:27.080Z","status":"ssl_error","status_checked_at":"2026-04-12T06:21:52.710Z","response_time":58,"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","c","execve","forks","linux","pipes","processes","shell","signals"],"created_at":"2024-11-05T16:09:43.544Z","updated_at":"2026-04-12T11:34:15.980Z","avatar_url":"https://github.com/Guiribei.png","language":"C","readme":"\u003ch1 align=\"center\"\u003e\n\tminishell\n\u003c/h1\u003e\n\n\u003cp align=\"center\"\u003e\n    \u003cimg src=\"https://github.com/riceset/riceset/blob/main/42_badges/minishelle.png\" /\u003e\n\u003c/p\u003e\n\n## Summary\n\u003e \u003ci\u003eThis project challenged us to make our own shell. It is basically a reduced version of the Bash shell (a humbly little version of that) written in C.\u003c/i\u003e\n\u003e \u003ci\u003eIt provides a simple and minimalistic command-line interface for users to interact with the operating system. Developed in pair with @0xEDU.\u003c/i\u003e\n\n## Features\n\n- Simple command-line interface\n- Command history\n- Built-in commands: cd, pwd, export, unset, env, exit, echo\n- Command execution with arguments\n- Multiple command execution with pipes: |\n- Redirecting operators: \u003c, \u003e, \u003e\u003e and \u003c\u003c\n- Environment variable expansion: $\n- Signal handling: CTRL-C, CTRL-D\n\n## Getting Started\n\n### Prerequisites\n\nTo compile and run Minishell, you'll need a C compiler and the GNU Readline library. The following instructions assume you are using a Unix-based system, such as Linux or macOS.\n\n### Compilation\n\n1. Clone the repository:\n\n```bash\ngit clone https://github.com/Guiribei/my_shell.git\n```\n\n2. Change to the repository directory:\n\n```bash\ncd my_shell\n```\n\n3. Compile the project using the provided Makefile:\n\n```bash\nmake\n```\n\n### Running Minishell\n\nAfter successful compilation, you can run Minishell by executing the generated binary:\n\n```bash\n./minishell\n```\n\nYou will be greeted with a colored command prompt, where you can start entering commands.\n\n```diff\n+minishell:~$\n```\n\n## Example Usage\n\nHere's a quick example of what you can do with Minishell:\n\n\n```\nminishell:~/home/user/my_shell$ echo \"Hello, World!\"\nHello, World!\nminishell:~/home/user/my_shell$ ls\nincludes  libft  Makefile  minishell  objects  sources\nminishell:~/home/user/my_shell$ exit\n```\n\n### Limitations\n\nMinishell is a reduced version of Bash, and as such, it does not support all features available in a full-featured shell. Some of the missing features include:\n- Command separators as ; and \u0026\u0026\n- Scripting capabilities\n- Customization and extensibility\n- Wildcards\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fguiribei%2Fmy_shell","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fguiribei%2Fmy_shell","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fguiribei%2Fmy_shell/lists"}