{"id":20186247,"url":"https://github.com/ugolinolle/minishell","last_synced_at":"2026-06-08T00:31:38.998Z","repository":{"id":220316404,"uuid":"748578805","full_name":"UgolinOlle/minishell","owner":"UgolinOlle","description":"💻・Own simple shell, similar to bash.","archived":false,"fork":false,"pushed_at":"2024-07-29T09:35:35.000Z","size":4038,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-03T06:44:41.796Z","etag":null,"topics":["42","42projects","42school","c","minishell","minishell-42","minishell42"],"latest_commit_sha":null,"homepage":"https://ugolin-olle.com/projects/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/UgolinOlle.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}},"created_at":"2024-01-26T09:48:12.000Z","updated_at":"2024-07-29T09:38:31.000Z","dependencies_parsed_at":"2024-07-29T12:43:53.633Z","dependency_job_id":null,"html_url":"https://github.com/UgolinOlle/minishell","commit_stats":null,"previous_names":["ugolinolle/minishell"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/UgolinOlle/minishell","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/UgolinOlle%2Fminishell","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/UgolinOlle%2Fminishell/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/UgolinOlle%2Fminishell/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/UgolinOlle%2Fminishell/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/UgolinOlle","download_url":"https://codeload.github.com/UgolinOlle/minishell/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/UgolinOlle%2Fminishell/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34043822,"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-07T02:00:07.652Z","response_time":124,"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":["42","42projects","42school","c","minishell","minishell-42","minishell42"],"created_at":"2024-11-14T03:16:32.740Z","updated_at":"2026-06-08T00:31:38.991Z","avatar_url":"https://github.com/UgolinOlle.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Minishell\n\n## Table of Contents\n- [Introduction](#introduction)\n- [Project Structure](#project-structure)\n- [Installation and Usage](#installation-and-usage)\n- [Features](#features)\n- [Skills Learnt](#skills-learnt)\n- [Contributing](#contributing)\n- [Requirements](#requirements)\n\n## Introduction\nMinishell is a group project developed for 42 School that aims to create a simple Unix shell. It provides basic command-line functionality, including executing commands, handling environment variables, and managing redirections.\n\n\n## Installation\nTo install and run the Minishell project, follow these steps:\n\n1. Clone the repository:\n   ```sh\n   git clone https://github.com/yourusername/minishell.git\n   cd minishell\n   \n   ```\n2. Compile:\n   ```sh\n   make\n    \n   ```\n3. Run program:\n\n    After compiling the project, you can run the Minishell executable to start the shell.\n    ```sh\n    ./minishell  \n    ```\n    It supports basic Unix commands and features like environment variables and redirections. This is a basic example of how to use the program, but the possibilities are almost infinite!\n    ```sh\n    ./minishell\n    ls -l | wc\n    echo $?\n    exit 2\n    ```\n\n## Features\n* **Command Execution:** Supports executing external commands and built-in shell commands.\n* **Redirections:** Handles input (\u003c), output (\u003e), and append (\u003e\u003e) redirections.\n* **Pipelines:** Allows chaining commands using pipes (|).\n* **Environment Variables:** Manages shell environment variables and supports variable expansion.\n* **Built-in Commands:** Implements built-in commands such as echo, cd, pwd, env, export, unset, and exit.\n* **Signal Handling:** Handles signals like Ctrl+C (SIGINT) and Ctrl+\\ (SIGQUIT) gracefully.\n* **Error Handling:** Provides informative error messages for command execution failures and syntax errors.\n* **History:** Stores command history and supports navigating through it using arrow keys and history command.\n* **Customizable Prompt:** Allows customization of the shell prompt using environment variables.\n* **Scripting:** Supports running shell scripts (sh files) and executing multiple commands from a file.\n* **File Permissions:** Enforces file permissions and access control for commands and files.\n\n## Skills Learned and Developed\n* **Shell Programming:** Developing a basic Unix shell with command parsing and execution.\n* **Process Management:** Handling processes and executing commands using system calls.\n* **File I/O Operations:** Implementing input/output redirections.\n* **Collaborative Development:** Contributing to a group project and integrating individual components like command execution.\n\n## Contributing\nThis project was developed collaboratively. My specific contribution focused on the execution part (including built-in commands), ensuring commands are executed correctly within the shell environment. Additionally I also worked on expandables and environment varibales.\n\n## Requirements\n* GCC or Clang compiler.\n* Make utility.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fugolinolle%2Fminishell","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fugolinolle%2Fminishell","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fugolinolle%2Fminishell/lists"}