{"id":26245047,"url":"https://github.com/deryaxacar/42-minishell","last_synced_at":"2026-03-04T18:31:48.288Z","repository":{"id":249840206,"uuid":"786406216","full_name":"deryaxacar/42-Minishell","owner":"deryaxacar","description":"This project aims to create a basic command-line shell. The shell processes user inputs to execute commands, handle file redirection, and perform pipe operations. Minishell serves as an excellent tool for understanding how a shell works by implementing fundamental shell functionalities.","archived":false,"fork":false,"pushed_at":"2025-06-15T09:46:23.000Z","size":353,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-16T10:00:52.268Z","etag":null,"topics":["42","42-cursus","42-minishell","42-school","42born2code","42cursus","42minishell","42projects","42school","bash","minishell","minishell-42","minishell42","shell","terminal"],"latest_commit_sha":null,"homepage":"https://github.com/deryaxacar/42-Minishell","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/deryaxacar.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2024-04-14T11:15:24.000Z","updated_at":"2025-06-15T09:46:27.000Z","dependencies_parsed_at":"2025-04-23T18:37:41.266Z","dependency_job_id":"900d70a8-d409-4026-84b5-4e786665d220","html_url":"https://github.com/deryaxacar/42-Minishell","commit_stats":null,"previous_names":["deryaxacar/42-minishell"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/deryaxacar/42-Minishell","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deryaxacar%2F42-Minishell","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deryaxacar%2F42-Minishell/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deryaxacar%2F42-Minishell/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deryaxacar%2F42-Minishell/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/deryaxacar","download_url":"https://codeload.github.com/deryaxacar/42-Minishell/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deryaxacar%2F42-Minishell/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30089333,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-04T18:31:08.343Z","status":"ssl_error","status_checked_at":"2026-03-04T18:31:07.708Z","response_time":59,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["42","42-cursus","42-minishell","42-school","42born2code","42cursus","42minishell","42projects","42school","bash","minishell","minishell-42","minishell42","shell","terminal"],"created_at":"2025-03-13T12:29:43.764Z","updated_at":"2026-03-04T18:31:48.260Z","avatar_url":"https://github.com/deryaxacar.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003c!-- Project Title and Description --\u003e\n\u003ch1 align=\"center\"\u003e42 - Minishell ⌨️\u003c/h1\u003e\n\n\u003cp align=\"center\"\u003e\nThis project aims to build a basic command-line shell. The shell processes user input, executes commands, handles file redirection, and manages pipes. Minishell is a great tool for understanding how a shell works by implementing core shell functionalities.\n\u003c/p\u003e\n\n\u003c!-- Project Logo or Image --\u003e\n\u003cp align=\"center\"\u003e\n  \u003ca target=\"blank\"\u003e\u003cimg src=\"https://github.com/deryaxacar/42-Minishell/blob/main/minishell.png\" height=\"150\" width=\"150\" /\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n## Project Goal 🎯\n\nThe goal of the Minishell project is to create a simple UNIX-like shell. It involves handling user input, parsing and executing commands, implementing file redirection and pipe operations. This project provides in-depth knowledge on system calls, memory management, and string manipulation in the C programming language.\n\n## Usage Scenarios 🖥️\n\nMinishell operates similarly to a standard shell and supports various functionalities. Here are some usage examples:\n\n- **Command Execution**: Type simple commands and press Enter.\n  - Example: `ls -l`\n- **File Redirection**: Use '\u003e' or '\u003e\u003e' to redirect output to a file, and '\u003c' to read input from a file.\n  - Example: `echo \"Hello World\" \u003e output.txt`\n- **Pipe Operations**: Use '|' to pass the output of one command as input to another.\n  - Example: `ls -l | grep minishell`\n- **Check Command Result**: `$?` returns the exit status of the last executed command.\n  - Example: `ls -l; echo $?` (Checks if the last command succeeded.)\n- **Background Processes**: Use '\u0026' to run a command in the background.\n  - Example: `./script.sh \u0026`\n\n## Requirements 📋\n\nTo build and run the Minishell project, the following requirements must be met:\n\n- **A Unix-based operating system** (Linux, macOS) or a terminal emulator.\n- **GCC compiler**: The project should be compiled with the GNU C Compiler.\n- **Bash or a similar shell**: For testing and executing commands.\n- **C libraries**: Access to standard C libraries and system calls is required.\n- **Make utility**: A Makefile is used to build and manage the project.\n\n## Project Structure 📁\n\nIn addition to the main shell functionality, the project includes various helper functions and structures. Key components include:\n\n- **Makefile**: Used to compile and build the project.\n- **minishell.h**: Header file containing structure definitions and function prototypes.\n- **minishell.c**: Contains the core shell logic.\n- **executor.c**: Handles command execution and redirection operations.\n- **parser.c**: Parses user input and processes commands.\n- **signals.c**: Manages signal handling and control logic.\n- **utils.c**: Includes helper functions for string manipulation and memory management.\n\n## Contributing and Feedback 🤝\n\nIf you'd like to contribute or provide feedback:\n\n1. Fork the repository.\n2. Make your changes and submit a pull request.\n3. Open an issue on GitHub or join the discussion for suggestions and improvements.\n\n## License 📜\n\nThis project is licensed under the MIT License. You are free to use, modify, and distribute the code. For detailed license terms, please refer to the `LICENSE` file.\n\n---\n\n\u003cp align=\"center\"\u003e2025 This project was created by Derya ACAR.\u003c/p\u003e\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fderyaxacar%2F42-minishell","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fderyaxacar%2F42-minishell","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fderyaxacar%2F42-minishell/lists"}