{"id":21159096,"url":"https://github.com/ganivetj/minishell","last_synced_at":"2026-05-14T23:32:01.777Z","repository":{"id":261975080,"uuid":"885862446","full_name":"ganivetj/minishell","owner":"ganivetj","description":"A simple shell built from scratch to explore how command-line interfaces operate, inspired by Bash.","archived":false,"fork":false,"pushed_at":"2024-11-09T22:21:14.000Z","size":48,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-14T15:49:19.940Z","etag":null,"topics":["c-programming","cli","educational","minishell","posix","shell"],"latest_commit_sha":null,"homepage":"https://ganivetj.github.io/minishell/","language":"C","has_issues":false,"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/ganivetj.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":"2024-11-09T15:37:30.000Z","updated_at":"2024-11-09T22:21:17.000Z","dependencies_parsed_at":"2024-11-15T19:45:28.619Z","dependency_job_id":null,"html_url":"https://github.com/ganivetj/minishell","commit_stats":null,"previous_names":["ganivetj/minishell"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ganivetj/minishell","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ganivetj%2Fminishell","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ganivetj%2Fminishell/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ganivetj%2Fminishell/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ganivetj%2Fminishell/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ganivetj","download_url":"https://codeload.github.com/ganivetj/minishell/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ganivetj%2Fminishell/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268317934,"owners_count":24231453,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-01T02:00:08.611Z","response_time":67,"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":["c-programming","cli","educational","minishell","posix","shell"],"created_at":"2024-11-20T12:59:09.122Z","updated_at":"2026-05-14T23:32:01.711Z","avatar_url":"https://github.com/ganivetj.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Overview\n\nMinishell is a project designed to help students explore the inner workings of a shell:\n\n- Introduces core aspects of system programming, including process management, file descriptors, and user input handling.\n- Provides hands-on experience with building a fundamental tool for interacting with Unix-like systems.\n\n## Features\n\n- **Prompt Display**: Shows a prompt to indicate readiness for a new command.\n- **Command Execution**: Searches for executables in the system's `PATH` and executes commands using either relative or absolute paths.\n- **Environment Variable Support**: Expands `$VARIABLES` and manages `$?` to store the exit status of the last executed command.\n- **Signal Handling**: Implements custom behavior for `ctrl-C`, `ctrl-D`, and `ctrl-\\`.\n- **Input/Output Redirection**:\n  - `\u003c`: Redirects standard input.\n  - `\u003e`: Redirects standard output.\n  - `\u003c\u003c`: Accepts input until a specified delimiter.\n  - `\u003e\u003e`: Appends standard output.\n- **Pipes**: Connects the output of one command to the input of the next using `|`.\n- **Builtin Commands**:\n  - `echo` (with `-n` option)\n  - `cd` (changes directory)\n  - `pwd` (prints current directory)\n  - `export` (manages environment variables)\n  - `unset` (removes environment variables)\n  - `env` (lists environment variables)\n  - `exit` (exits the shell)\n\n## Project Documentation\n\nThe full documentation for the Minishell project can be found [here](https://ganivetj.github.io/minishell/).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fganivetj%2Fminishell","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fganivetj%2Fminishell","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fganivetj%2Fminishell/lists"}