{"id":21458508,"url":"https://github.com/mguardia10/42cursus_minishell","last_synced_at":"2025-07-15T01:31:12.049Z","repository":{"id":230270759,"uuid":"741108980","full_name":"MGuardia10/42cursus_minishell","owner":"MGuardia10","description":"Recreating a shell in C using bash as a reference.","archived":false,"fork":false,"pushed_at":"2024-07-28T14:04:12.000Z","size":253,"stargazers_count":4,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-08T19:23:04.466Z","etag":null,"topics":["42","42born2code","42cursus","42madrid","42projects","minishell42"],"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/MGuardia10.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-01-09T18:01:15.000Z","updated_at":"2024-07-28T14:04:15.000Z","dependencies_parsed_at":"2024-07-28T15:37:10.354Z","dependency_job_id":null,"html_url":"https://github.com/MGuardia10/42cursus_minishell","commit_stats":null,"previous_names":["mguardia10/42cursus_minishell"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/MGuardia10/42cursus_minishell","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MGuardia10%2F42cursus_minishell","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MGuardia10%2F42cursus_minishell/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MGuardia10%2F42cursus_minishell/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MGuardia10%2F42cursus_minishell/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MGuardia10","download_url":"https://codeload.github.com/MGuardia10/42cursus_minishell/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MGuardia10%2F42cursus_minishell/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265385758,"owners_count":23756728,"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","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","42born2code","42cursus","42madrid","42projects","minishell42"],"created_at":"2024-11-23T06:20:20.341Z","updated_at":"2025-07-15T01:31:11.747Z","avatar_url":"https://github.com/MGuardia10.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 42cursus_minishell\nAs beautiful as a shell. This project aims to create a minimal shell that can interpret and execute basic Unix operating system commands. GNU Bash 3.2 has been taken as a reference, as it is the default version on macOS for 42Madrid computers.\n\nThis recreation of Bash supports redirections (\u003c, \u003e, \u003c\u003c, \u003e\u003e), pipes ( | ), single and double quotes, environment variables expansion and signals such as CTRL-D, CTRL-C and CTRL-\\\\. Also, we had to recreate as Builtin this list of commands: echo (with -n option), cd, pwd, export, unset, env, exit.\n\n![LINUX](https://img.shields.io/badge/Linux-a?style=for-the-badge\u0026logo=linux\u0026color=grey)\n![C](https://img.shields.io/badge/C-a?style=for-the-badge\u0026logo=C\u0026color=grey)\n![Makefile](https://img.shields.io/badge/Makefile-a?style=for-the-badge\u0026logo=monster\u0026logoColor=orange\u0026color=grey)\n\nYou can see the subject [**HERE.**](https://github.com/MGuardia10/42cursus/blob/main/subjects/en/minishell_subject_en.pdf)\n\n## Preview\n![minishell GIF](https://github.com/MGuardia10/42cursus_minishell/assets/105164870/8438c2fc-c8fd-4971-ab83-6e5ac8b2dc16)\n\n\n## Installing and running the project:\n\n\u003e ℹ️ Make sure you have *readline* library install on your computer. To install *readline* go see [WIKI](https://github.com/MGuardia10/42cursus_minishell/wiki/How-to-install-Readline).\n\n1- Clone this repository\n\t\n\tgit clone https://github.com/MGuardia10/42cursus_minishell.git\n2- Navigate to the new directory and run `make`\n\t\n\tcd 42cursus_minishell\n   \tmake\n3- Start the shell, no parameters needed:\n\n\t./minishell\n\n## Compiling the Program\nThe minishell program comes with a Makefile that includes the following rules:\n\n- `all`: compiles the program.\n- `re`: recompiles the program.\n- `clean`: removes obj directory with objects files.\n- `fclean`: removes obj directory with objects files and minishell binary.\n\n## Disclaimer\n\u003e At [42School](https://en.wikipedia.org/wiki/42_(school)), almost every project must be written in accordance to the [Norm](https://github.com/MGuardia10/42cursus/blob/main/subjects/en/norm_en.pdf), the school's coding standard. As a result, the implementation of certain parts may appear strange and for sure had room for improvement.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmguardia10%2F42cursus_minishell","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmguardia10%2F42cursus_minishell","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmguardia10%2F42cursus_minishell/lists"}