{"id":20765772,"url":"https://github.com/amany-mm/simple_shell","last_synced_at":"2026-04-21T17:02:00.990Z","repository":{"id":207462270,"uuid":"719289498","full_name":"amany-mm/simple_shell","owner":"amany-mm","description":"Unix shell built to mimic sh","archived":false,"fork":false,"pushed_at":"2024-03-26T08:59:40.000Z","size":69,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-18T06:13:26.762Z","etag":null,"topics":["c","shell"],"latest_commit_sha":null,"homepage":"","language":"Shell","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/amany-mm.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":"AUTHORS","dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-11-15T21:17:54.000Z","updated_at":"2025-01-01T06:08:09.000Z","dependencies_parsed_at":"2023-11-15T23:31:06.319Z","dependency_job_id":"a28db5fd-32de-440a-a65f-94bb4f036375","html_url":"https://github.com/amany-mm/simple_shell","commit_stats":null,"previous_names":["amany-mm/simple_shell"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amany-mm%2Fsimple_shell","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amany-mm%2Fsimple_shell/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amany-mm%2Fsimple_shell/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amany-mm%2Fsimple_shell/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/amany-mm","download_url":"https://codeload.github.com/amany-mm/simple_shell/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243093416,"owners_count":20235364,"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","shell"],"created_at":"2024-11-17T11:18:50.158Z","updated_at":"2026-04-21T17:02:00.936Z","avatar_url":"https://github.com/amany-mm.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# simple_shell\n\nA simple UNIX command interpreter.\n\n## Resources\n* [Unix shell](https://en.wikipedia.org/wiki/Unix_shell)\n* [Thompson shell](https://en.wikipedia.org/wiki/Thompson_shell)\n* [Ken Thompson](https://en.wikipedia.org/wiki/Ken_Thompson)\n* man or help: `sh` (Run sh as well)\n  \n## Compilation\n```\ngcc -Wall -Werror -Wextra -pedantic -std=gnu89 *.c -o hsh\n```\n\n## Testing\n\n**Interactive Mode**\n```\n$ ./hsh\n($) /bin/ls\nhsh main.c shell.c\n($)\n($) exit\n$\n```\n\n**Non Interactive Mode**\n```\n$ echo \"/bin/ls\" | ./hsh\nhsh main.c shell.c test_ls_2\n$\n$ cat test_ls_2\n/bin/ls\n/bin/ls\n$\n$ cat test_ls_2 | ./hsh\nhsh main.c shell.c test_ls_2\nhsh main.c shell.c test_ls_2\n$\n```\n\n## Environment\n* Language: C\n* OS: Ubuntu\n* Compiler: gcc\n* Style guidelines: [Betty style](https://github.com/alx-tools/Betty/wiki)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Famany-mm%2Fsimple_shell","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Famany-mm%2Fsimple_shell","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Famany-mm%2Fsimple_shell/lists"}