{"id":27312980,"url":"https://github.com/ahaddad98/minnishell","last_synced_at":"2025-06-28T02:02:11.826Z","repository":{"id":166792524,"uuid":"343081376","full_name":"ahaddad98/minnishell","owner":"ahaddad98","description":"This project contains a small version of SHELL system ","archived":false,"fork":false,"pushed_at":"2021-05-20T21:10:32.000Z","size":576,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-12T06:51:23.227Z","etag":null,"topics":["c","execution","parsing","shelll"],"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/ahaddad98.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,"zenodo":null}},"created_at":"2021-02-28T10:54:03.000Z","updated_at":"2021-12-22T16:57:21.000Z","dependencies_parsed_at":"2023-06-11T14:45:35.264Z","dependency_job_id":null,"html_url":"https://github.com/ahaddad98/minnishell","commit_stats":null,"previous_names":["ahaddad98/minnishell"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ahaddad98/minnishell","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ahaddad98%2Fminnishell","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ahaddad98%2Fminnishell/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ahaddad98%2Fminnishell/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ahaddad98%2Fminnishell/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ahaddad98","download_url":"https://codeload.github.com/ahaddad98/minnishell/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ahaddad98%2Fminnishell/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262362035,"owners_count":23299117,"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":["c","execution","parsing","shelll"],"created_at":"2025-04-12T06:50:06.183Z","updated_at":"2025-06-28T02:02:11.819Z","avatar_url":"https://github.com/ahaddad98.png","language":"C","readme":"# Minishell_42\n\n## What is a shell? :thinking: ## \n  Basically in an operating system there are these two elements:\n  \u003cbr\u003e\n    * The kernel (= kernel): which performs the fundamental functions of \n                    the operating system such as memory management, processes, files ...\n  \u003cbr\u003e\n    * The shell: At its base, a shell is simply a macro processor that executes commands. \n                -The term macro processor means functionality where text and symbols are expanded to create larger expressions.\n                -A Unix shell is both a command interpreter and a programming language. \n\n## This Project Majerly Include :open_file_folder: ##\n\n**Parsing**\n\n        2. The separations\n        1. Pipes\n        3. Command and arguments\n        4. Protections\n        5. The \u003c,\u003e, \u003e\u003e redirects\n        6. Environment variables\n      \n**The execution**\n\n\n    1. Redirects\n    2. Env, export, unset\n    3. Exit and $?\n    4. Pipes / signals / process links \n\n## Best Ressources ##\n    -https://medium.com/@nickolasteixeira/want-to-build-a-simple-shell-heres-how-you-do-it-75890647bae8\n    -https://medium.com/dev-genius/lets-build-a-linux-shell-part-i-954c95911501\n    -https://medium.com/better-programming/how-bash-works-8424becc12f3\n    -https://pubs.opengroup.org/onlinepubs/009695399/utilities/xcu_chap02.html\n    -https://man7.org/linux/man-pages/dir_all_by_section.html\n    -https://unix.stackexchange.com/questions/159513/what-are-the-shells-control-and-redirection-operators\n    -https://www.gnu.org/savannah-checkouts/gnu/bash/manual/bash.html\n    -https://www.geeksforgeeks.org/pipe-system-call/?ref=rp\n    -https://www.geeksforgeeks.org/wait-system-call-c/?ref=rp\n    -https://www.geeksforgeeks.org/fork-system-call/?ref=rp\n    -http://www-igm.univ-mlv.fr/~dr/NCSPDF/chapitre11.pdf\n    -https://www.geeksforgeeks.org/making-linux-shell-c/\n    -https://www.quora.com/What-is-the-3rd-parameter-in-the-main-function-char-envp#:~:text=The%20non%2Dportable%2Dbut%2D,As%20always%2C%20I%20recommend%20experimenting\n    -https://chrtophe.developpez.com/tutoriels/minisysteme/#L11\n    -https://stackoverflow.com/questions/6697753/difference-between-single-and-double-quotes-in-bash\n    -https://brennan.io/2015/01/16/write-a-shell-in-c/\n    -https://www.youtube.com/watch?v=5BE9qM79fgM\n    -https://sites.cs.ucsb.edu/~manish/discussion/week2.pdf\n    -https://www.geeksforgeeks.org/chdir-in-c-language-with-examples/ Important\n    -https://theswissbay.ch/pdf/Gentoomen%20Library/Programming/Bash/O%27Reilly%20bash%20CookBook.pdf\n\n## To Test ##\n     Run : make \u0026\u0026 ./minshell\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fahaddad98%2Fminnishell","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fahaddad98%2Fminnishell","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fahaddad98%2Fminnishell/lists"}