{"id":26437017,"url":"https://github.com/rurangiza/minishell","last_synced_at":"2026-04-15T18:02:13.554Z","repository":{"id":65436599,"uuid":"589638717","full_name":"rurangiza/minishell","owner":"rurangiza","description":"Lighweight version of bash","archived":false,"fork":false,"pushed_at":"2023-04-21T12:45:51.000Z","size":8624,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-18T08:21:18.015Z","etag":null,"topics":["shell","unix"],"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/rurangiza.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":"2023-01-16T15:34:31.000Z","updated_at":"2023-04-15T05:47:25.000Z","dependencies_parsed_at":"2023-07-24T15:08:29.793Z","dependency_job_id":null,"html_url":"https://github.com/rurangiza/minishell","commit_stats":null,"previous_names":["arurangi/minishell","rurangiza/minishell"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/rurangiza/minishell","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rurangiza%2Fminishell","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rurangiza%2Fminishell/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rurangiza%2Fminishell/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rurangiza%2Fminishell/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rurangiza","download_url":"https://codeload.github.com/rurangiza/minishell/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rurangiza%2Fminishell/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31853279,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-15T15:24:51.572Z","status":"ssl_error","status_checked_at":"2026-04-15T15:24:39.138Z","response_time":63,"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":["shell","unix"],"created_at":"2025-03-18T08:20:14.106Z","updated_at":"2026-04-15T18:02:13.536Z","avatar_url":"https://github.com/rurangiza.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# About\nThis project is about creating a lightweight version of bash (Born Again Shell).\n## Features\n- prompts user for input\n- checks user input for valid commands else returns appropriate errors\n- executes commands with options (Ex: `ls -l`)\n- handles multiple pipes (Ex: `ls | head -2 | wc`)\n- custom built-ins (cd, pwd, echo, unset, export, env)\n- I/O redirections (\u003c, \u003e, \u003c\u003c, \u003e\u003e)\n- handles signals (Ctrl-C, Ctrl-D, Ctrl-\\)\n\n## What I learned\n- UNIX programming in general\n- bash's behaviour in various situations and how it is implemented\n- How to create processes and retrieve valuable informations from them. Like exit codes\n- How to create a pipeline that handles I/O redirections\n- How to analyze files\n\n## Tips \u0026 Tricks\n- Use the `lsof -c \u003cname_of_your_program\u003e` or `ps aux | grep program_name` commands to see the current processes of a specific program\n\n## Useful Links\n### Tutorials\n- Tutorial - [Write a Shell in C](https://brennan.io/2015/01/16/write-a-shell-in-c/) by Stephen Brennan\n- [Let's Build a Command Line Shell in C](http://www.dmulholl.com/lets-build/a-command-line-shell.html)\n- [Multipipe_tutor](https://clemedon.github.io/Multipipe_tutor/)\n- [Pipe: an Inter-Process Communication Method](https://www.codequoi.com/en/pipe-an-inter-process-communication-method/)\n### Manuals\n- Systems Programming : Chapter 5 : [Writing Your Own Shell](https://www.cs.purdue.edu/homes/grr/SystemsProgrammingBook/Book/Chapter5-WritingYourOwnShell.pdf)\n- [The Shell Command Language](https://pubs.opengroup.org/onlinepubs/009695399/utilities/xcu_chap02.html)\n- [Bash Reference Manual](https://www.gnu.org/software/bash/manual/bash.html)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frurangiza%2Fminishell","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frurangiza%2Fminishell","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frurangiza%2Fminishell/lists"}