{"id":25828975,"url":"https://github.com/adaros92/tinysh","last_synced_at":"2026-04-09T16:02:08.803Z","repository":{"id":100249263,"uuid":"283921272","full_name":"adaros92/tinysh","owner":"adaros92","description":"A basic Unix shell written in C for my OS class. ","archived":false,"fork":false,"pushed_at":"2020-07-31T02:33:59.000Z","size":13,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-02-28T22:13:28.829Z","etag":null,"topics":["c","operating-system","os","shell","terminal","unix"],"latest_commit_sha":null,"homepage":"","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/adaros92.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":"2020-07-31T02:17:37.000Z","updated_at":"2022-06-23T01:45:56.000Z","dependencies_parsed_at":"2023-05-13T04:15:45.584Z","dependency_job_id":null,"html_url":"https://github.com/adaros92/tinysh","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/adaros92/tinysh","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adaros92%2Ftinysh","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adaros92%2Ftinysh/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adaros92%2Ftinysh/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adaros92%2Ftinysh/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/adaros92","download_url":"https://codeload.github.com/adaros92/tinysh/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adaros92%2Ftinysh/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286079811,"owners_count":27282121,"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-11-24T02:00:07.096Z","response_time":68,"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":["c","operating-system","os","shell","terminal","unix"],"created_at":"2025-02-28T18:52:58.825Z","updated_at":"2025-11-24T19:03:47.414Z","avatar_url":"https://github.com/adaros92.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# tinysh\nA basic unix shell\n\n## Build and run\n```\nmake all\n./smallsh\n```\n\n## Examples\n### Basics\n```\n: # this is comment\n:\n: # list directory contents\n: ls\n: # redirect to file\n: ls \u003e some_file.txt\n:\n: # go home\n: cd \n: # travel somewhere\n: cd [some directory]\n:\n: # print working directory\n: pwd\n: \n```\nSupports most other basic commands (cp, mv, cat, etc.)\n\n### Signals and background processes\n```\n: # run some process\n: sleep 10\n: # CTRL + C sends SIGINT signal to kill bg process\nterminated by signal 2\n:\n: # run same process but in the background\n: sleep 10 \u0026\nbackground pid is [SOME PID]\n: # get running processes\n: ps\n: # kill some background process\n: kill -15 [SOME PID]\nbackground pid [SOME PID] is done: terminated by signal 15\n:\n: # CTRL + Z enters foreground only mode\nEntering foreground-only mode (\u0026 is now ignored)\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadaros92%2Ftinysh","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fadaros92%2Ftinysh","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadaros92%2Ftinysh/lists"}