{"id":20002837,"url":"https://github.com/codewithmide/simple_shell","last_synced_at":"2025-10-10T05:35:26.939Z","repository":{"id":109329788,"uuid":"494245412","full_name":"codewithmide/simple_shell","owner":"codewithmide","description":"Shell project","archived":false,"fork":false,"pushed_at":"2022-07-11T19:16:52.000Z","size":55,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-19T22:39:50.033Z","etag":null,"topics":["bash","c","linux","makefile","shell"],"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/codewithmide.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-05-19T22:18:42.000Z","updated_at":"2022-07-22T11:23:59.000Z","dependencies_parsed_at":null,"dependency_job_id":"7ed21596-6443-46d3-9e70-f983f08cbcdb","html_url":"https://github.com/codewithmide/simple_shell","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/codewithmide/simple_shell","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codewithmide%2Fsimple_shell","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codewithmide%2Fsimple_shell/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codewithmide%2Fsimple_shell/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codewithmide%2Fsimple_shell/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/codewithmide","download_url":"https://codeload.github.com/codewithmide/simple_shell/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codewithmide%2Fsimple_shell/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279002886,"owners_count":26083468,"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-10-10T02:00:06.843Z","response_time":62,"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":["bash","c","linux","makefile","shell"],"created_at":"2024-11-13T05:23:15.948Z","updated_at":"2025-10-10T05:35:26.924Z","avatar_url":"https://github.com/codewithmide.png","language":"C","readme":"## Description\n\nThis repo has our custom shell project, which attempts to replicate some of the\nprocesses of the 'sh' shell or 'bash' shell.\nFor more information view the blog post of Ibrahim Morketa \u0026 Simegnew Misganaw\n[here](https://medium.com/@ibrahimbsc8/simple-shell-a-custom-shell-command-line-interpreter-a0d11d5b219f)\n\n### C language standard functions and system calls utilized\n\n`access`, `chdir`, `close`, `closedir`, `execve`, `exit`, `fork`,\n`free`, `fstat`, `getcwd`, `getline`, `kill`, `lstat`, `malloc`,\n`open`, `opendir`, `perror`, `read`, `readdir`, `signal`, `stat`,\n`strtok`, `wait`, `waitpid`, `wait3`, `wait4`, `write`, `_exit`\n\n## Brief Synopsis\n\nAll files in this repository are designed to compile with GNU compiler\ncollection '`gcc`' in the linux environment from '`Ubuntu 20.04\nLTS`'.  When compiled, the executable file replicates a 'shell' or command line\ninterpreter, which is a user interface used for access to an operating system's\nservices.  This shell has a set of custom built-in commands, and also integrates\nwith other commands located in the system's PATH.  Output and functionality from\ncommands is designed to replicate output from the shell `sh` (dash) and some\nbash commands.\n\n## Usage\n\n### compile\n\n```\n$ gcc -Wall -Werror -Wextra -pedantic *.c -o hsh\n```\n\n**Compile with Make**: `make all`\n\n### executing the program\n\n**interactive mode**: `$ ./hsh`\n\n**non-interactive mode**: `$ echo \"ls -la\" | ./hsh`\n\n### usage of arsine in interactive mode\n\nHere is an example usage of the ls\ncommand with flags.  This command lists directory contents.\n\n```\n$ ls -la\n```\n                                                         \n\n## Ref\n* Olumide Micheal Tolulope \u003columidemicheal7@gmail.com\u003e\n* Ahmed Gbadamosi\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodewithmide%2Fsimple_shell","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodewithmide%2Fsimple_shell","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodewithmide%2Fsimple_shell/lists"}