{"id":27312982,"url":"https://github.com/zainabdnaya/minishell_42","last_synced_at":"2025-09-08T16:51:07.303Z","repository":{"id":197607247,"uuid":"354054074","full_name":"zainabdnaya/Minishell_42","owner":"zainabdnaya","description":" The objective of this project is for you to create a simple shell.","archived":false,"fork":false,"pushed_at":"2021-04-02T15:41:20.000Z","size":1291,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-27T03:45:04.342Z","etag":null,"topics":["42projects","c","execution","minishell","parsing","sh"],"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/zainabdnaya.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}},"created_at":"2021-04-02T15:09:53.000Z","updated_at":"2024-02-16T03:19:26.000Z","dependencies_parsed_at":"2023-10-01T17:57:18.560Z","dependency_job_id":"97155093-1b2d-426e-b4e0-f4ed8469e32e","html_url":"https://github.com/zainabdnaya/Minishell_42","commit_stats":null,"previous_names":["zainabdnaya/minishell_42"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/zainabdnaya/Minishell_42","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zainabdnaya%2FMinishell_42","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zainabdnaya%2FMinishell_42/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zainabdnaya%2FMinishell_42/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zainabdnaya%2FMinishell_42/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zainabdnaya","download_url":"https://codeload.github.com/zainabdnaya/Minishell_42/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zainabdnaya%2FMinishell_42/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274218600,"owners_count":25243357,"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-09-08T02:00:09.813Z","response_time":121,"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":["42projects","c","execution","minishell","parsing","sh"],"created_at":"2025-04-12T06:50:06.437Z","updated_at":"2025-09-08T16:51:07.257Z","avatar_url":"https://github.com/zainabdnaya.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"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","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzainabdnaya%2Fminishell_42","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzainabdnaya%2Fminishell_42","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzainabdnaya%2Fminishell_42/lists"}