{"id":30561015,"url":"https://github.com/0necontroller/simple_shell","last_synced_at":"2025-08-28T11:11:27.792Z","repository":{"id":109210279,"uuid":"534601533","full_name":"0necontroller/simple_shell","owner":"0necontroller","description":null,"archived":false,"fork":false,"pushed_at":"2022-09-19T12:40:29.000Z","size":55,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-08-19T14:05:30.810Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/0necontroller.png","metadata":{"files":{"readme":"README.md","changelog":"history.c","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":"2022-09-09T10:43:02.000Z","updated_at":"2022-09-09T11:54:21.000Z","dependencies_parsed_at":"2023-04-12T17:16:55.277Z","dependency_job_id":null,"html_url":"https://github.com/0necontroller/simple_shell","commit_stats":null,"previous_names":["0necontroller/simple_shell"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/0necontroller/simple_shell","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0necontroller%2Fsimple_shell","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0necontroller%2Fsimple_shell/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0necontroller%2Fsimple_shell/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0necontroller%2Fsimple_shell/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/0necontroller","download_url":"https://codeload.github.com/0necontroller/simple_shell/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0necontroller%2Fsimple_shell/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":272487821,"owners_count":24942744,"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-08-28T02:00:10.768Z","response_time":74,"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":[],"created_at":"2025-08-28T11:11:25.074Z","updated_at":"2025-08-28T11:11:27.781Z","avatar_url":"https://github.com/0necontroller.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"![alt text](https://s3.amazonaws.com/intranet-projects-files/holbertonschool-low_level_programming/235/shell.jpeg)\n\n### Description\n\nShell is a simple UNIX command interpreter that replicates functionalities of the simple shell (sh). Additional functions are also included. This program was written entirely in C as a milestone project for ALX Africa Software Engineering.\n\n### Installation\n\nClone this repository into your working directory. For best results, files should be compiled with GCC and the following flags: -Wall -Wextra -Werror -pedantic -std=gnu89\n\n### Usage\n\nAfter compilation, the resulting program can run stand-alone, either in interactive or non-interactive mode.\n\n#### Interactive Mode\n\nIn interactive mode, simply run the program and wait for the prompt to appear. From there, you can type commands freely, exiting with either the \"exit\" command or ctrl-D.\n\n#### Non-Interactive Mode\n\nIn non-interactive mode, echo your desired command and pipe it into the program like this:\n\n```sh\necho \"ls\" | ./shell\n```\n\nIn non-interactive mode, the program will exit after finishing your desired command(s).\n\n#### Included Built-Ins\n\nOur shell has support for the following built-in commands:\n\n| Command             | Definition                                                                                |\n| ------------------- | ----------------------------------------------------------------------------------------- |\n| exit [n]            | Exit the shell, with an optional exit status, n.                                          |\n| env                 | Print the environment.                                                                    |\n| setenv [var][value] | Set an environment variable and value. If the variable exists, the value will be updated. |\n| unsetenv [var]      | Remove an environment variable.                                                           |\n| cd [dir]            | Change the directory.                                                                     |\n| help [built-in]     | Read documentation for a built-in.                                                        |\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F0necontroller%2Fsimple_shell","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F0necontroller%2Fsimple_shell","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F0necontroller%2Fsimple_shell/lists"}