{"id":19614395,"url":"https://github.com/dhaliti/minishell","last_synced_at":"2026-04-14T04:31:07.015Z","repository":{"id":127716713,"uuid":"495306210","full_name":"dhaliti/MiniShell","owner":"dhaliti","description":"A tiny shell, just like a mini version of Bash","archived":false,"fork":false,"pushed_at":"2022-12-31T18:05:51.000Z","size":1581,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-26T17:48:01.097Z","etag":null,"topics":["bash","c","command","command-line","homebrew","shell","shell-script","terminal","unix"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dhaliti.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-05-23T07:40:25.000Z","updated_at":"2023-01-17T02:05:26.000Z","dependencies_parsed_at":null,"dependency_job_id":"c69dc060-430f-4779-b1b7-c1fd8c15ec63","html_url":"https://github.com/dhaliti/MiniShell","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/dhaliti/MiniShell","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dhaliti%2FMiniShell","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dhaliti%2FMiniShell/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dhaliti%2FMiniShell/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dhaliti%2FMiniShell/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dhaliti","download_url":"https://codeload.github.com/dhaliti/MiniShell/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dhaliti%2FMiniShell/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31782736,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-14T02:24:21.117Z","status":"ssl_error","status_checked_at":"2026-04-14T02:24:20.627Z","response_time":153,"last_error":"SSL_read: 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","c","command","command-line","homebrew","shell","shell-script","terminal","unix"],"created_at":"2024-11-11T10:51:55.046Z","updated_at":"2026-04-14T04:31:06.995Z","avatar_url":"https://github.com/dhaliti.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# MiniShell\n\nMiniShell is a small and lightweight implementation of the popular Unix shell written in C. It features a number of built-in commands, including cd, env, and echo, as well as the ability to parse user input, execute external binaries, and handle pipes.\u003cbr\u003e\n\u003cimg src=\"https://user-images.githubusercontent.com/105823790/210152103-db120388-ead4-48cd-86e2-bbab364be0b4.svg\" width=500\u003e\n\n## Prerequisite\n\nReadline is necessary to the project. Here is how to install it on your machine on macOS (assuming [Homebrew](https://brew.sh/) is already installed):\n```\nbrew install readline\nbrew link --force readline\necho 'export C_INCLUDE_PATH=\"/usr/local/opt/readline/include:$C_INCLUDE_PATH\"' \u003e\u003e ~/.zshrc\necho 'export LIBRARY_PATH=\"/usr/local/opt/readline/lib:$LIBRARY_PATH\"' \u003e\u003e ~/.zshrc\nsource ~/.zshrc\n```\n\u003cb\u003eNote:\u003c/b\u003e Replace ```~/.zshrc``` with ```~/.bashrc``` if you use bash instead of zsh\n\n## Getting started\nTo run MiniShell, simply clone this repository and run the ```make``` command to build the program. Then simply run the executable:\n```\nmake \u0026\u0026 ./minishell\n```\n\n## Features\n\n\u003cul\u003e\n\u003cli\u003e\u003cb\u003eBuilt-in commands:\u003c/b\u003e MiniShell includes a number of built-in commands, including cd for changing the current working directory as well as env, export, and unset for displaying and modifying the environment variables.\u003c/li\u003e\n\n\u003cli\u003e\u003cb\u003eExternal command execution:\u003c/b\u003e just like a reak shell, MiniShell can execute binaries by searching the directories specified in the PATH environment variable.\u003c/li\u003e\n\n\u003cli\u003e\u003cb\u003eInput parsing:\u003c/b\u003e MiniShell can parse and interpret user input, including support for command arguments pipeline operators, redirections, and heredoc.\u003c/li\u003e\n\n\u003cli\u003e\u003cb\u003ePipe handling:\u003c/b\u003e Mini Bash can connect the standard output of one command to the standard input of another using the | pipe operator.\u003c/li\u003e\n\u003c/ul\u003e\n\n## Contributors\nProject realised with [Jérémy Perras](https://github.com/jeremy-perras)\n\n## Ressources\n[Bash manual](https://www.gnu.org/software/bash/manual/bash.html)\u003cbr\u003e\n[POSIX shell specification](http://pubs.opengroup.org/onlinepubs/9699919799/utilities/V3_chap02.html)\u003cbr\u003e\n[GNU C Library mannual](https://www.gnu.org/software/libc/manual/html_node/index.html)\u003cbr\u003e\n[Linux man pages](https://linux.die.net/man/)\n\n### Licence\nMiniShell is released under the MIT License.\n\n[![forthebadge](https://forthebadge.com/images/badges/made-with-c.svg)](https://forthebadge.com)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdhaliti%2Fminishell","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdhaliti%2Fminishell","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdhaliti%2Fminishell/lists"}