{"id":19884720,"url":"https://github.com/haletran/42_minishell","last_synced_at":"2026-06-15T07:31:47.178Z","repository":{"id":228427022,"uuid":"773970701","full_name":"Haletran/42_Minishell","owner":"Haletran","description":"Mini implementation of bash in C","archived":false,"fork":false,"pushed_at":"2024-07-21T15:38:13.000Z","size":1633,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-07-22T14:33:42.313Z","etag":null,"topics":[],"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/Haletran.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-03-18T18:04:22.000Z","updated_at":"2024-07-21T15:38:16.000Z","dependencies_parsed_at":"2024-04-01T10:24:56.816Z","dependency_job_id":"5376a025-cddd-4cfd-8554-e794ee219e14","html_url":"https://github.com/Haletran/42_Minishell","commit_stats":null,"previous_names":["haletran/42_minishell"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Haletran/42_Minishell","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Haletran%2F42_Minishell","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Haletran%2F42_Minishell/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Haletran%2F42_Minishell/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Haletran%2F42_Minishell/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Haletran","download_url":"https://codeload.github.com/Haletran/42_Minishell/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Haletran%2F42_Minishell/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34353189,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-15T02:00:07.085Z","response_time":63,"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":[],"created_at":"2024-11-12T17:29:09.837Z","updated_at":"2026-06-15T07:31:47.160Z","avatar_url":"https://github.com/Haletran.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Minishell\n\n==\u003e Project made in collaboration with [@Aska](https://github.com/Askandrie)\n\n## Project Overview\n\nMinishell is a simple shell program written in C that aims to replicate the basic functionalities of the Bash shell. This project is developed as a part of the curriculum at 42 School, adhering to the NORM V3 coding standards. Minishell provides an interactive command-line interface for users to execute various shell commands.\n\n## Features\n\n- Recreation of builtins commands such as `ls`, `echo`, `pwd`, `cd`, `env`, `export`, `unset`, and `exit`.\n- Handling of environment variables.\n- Support for input/output redirection.\n- Implementation of pipes to allow command chaining.\n- Signal handling (e.g., `Ctrl+C` to interrupt processes).\n- Command history using up and down arrow keys.\n- Error handling and informative messages for invalid commands or syntax.\n\n## Installation\n\n1. Clone the repository:\n  ```\ngit clone https://github.com/Haletran/42_Minishell\n```\n\n## Usage\n\nTo start the Minishell, simply run the compiled executable:\n\n```\n./minishell\n```\nYou will be presented with a prompt where you can type and execute commands, similar to how you would in Bash. For example:\n\n```sh\nminishell$ ls -l\nminishell$ pwd\nminishell$ cd /path/to/directory\nminishell$ echo \"Hello, World!\"\nminishell$ export MY_VAR=value\nminishell$ env\nminishell$ unset MY_VAR\nminishell$ cat \u003c input.txt \u003e output.txt\nminishell$ command1 | command2\nminishell$ exit\n```\n## Project Structure\n\n- src/ : Contains the source code files for the Minishell program.\n- include/ : Contains the header files.\n- Makefile : The makefile to build the project.\n\n## Code Style\nThe project adheres to the NORM V3 coding standards as specified by 42 School. I know i know...\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhaletran%2F42_minishell","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhaletran%2F42_minishell","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhaletran%2F42_minishell/lists"}