{"id":19572332,"url":"https://github.com/sankalpbahad/linux-shell","last_synced_at":"2025-02-26T11:14:17.440Z","repository":{"id":244332153,"uuid":"814935685","full_name":"SankalpBahad/Linux-Shell","owner":"SankalpBahad","description":"A simple replica of the Linux Shell (Terminal) implemented from scratch in C with various functionalities like I/O redirection, piping, background and foreground processes, signals, store command history, and other features..","archived":false,"fork":false,"pushed_at":"2024-06-30T17:42:30.000Z","size":21,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-09T03:41:29.690Z","etag":null,"topics":["c","linux-shell"],"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/SankalpBahad.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","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":"2024-06-14T02:48:32.000Z","updated_at":"2024-06-30T17:54:43.000Z","dependencies_parsed_at":null,"dependency_job_id":"f8390e57-71a2-4d01-85e3-6fc34c6b059a","html_url":"https://github.com/SankalpBahad/Linux-Shell","commit_stats":null,"previous_names":["sankalpbahad/linux-shell"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SankalpBahad%2FLinux-Shell","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SankalpBahad%2FLinux-Shell/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SankalpBahad%2FLinux-Shell/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SankalpBahad%2FLinux-Shell/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SankalpBahad","download_url":"https://codeload.github.com/SankalpBahad/Linux-Shell/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240840102,"owners_count":19866167,"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","linux-shell"],"created_at":"2024-11-11T06:25:56.828Z","updated_at":"2025-02-26T11:14:17.184Z","avatar_url":"https://github.com/SankalpBahad.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Description\n\nrun \"make\" followed by \"./a.out\"\n\nCommands implemented are:\n1. peek \n2. seek\n3. warp\n4. proclore\n5. system commands\n6. pastevents\n7. ping\n8. activities\n9. iMan\n10. neonate\n11. fg and bg\n\nColor encoding: directories blue, files white, executables green.\n\n# Assumptions\n\n1. File path lengths are fixed\n2. For background processes, put a space between command and '\u0026', for example (sleep 5 \u0026)\n3. For 'fg' command, it only executes the background process in the foreground if it has stopped in the background. Else, it does nothing.\n4. For 'bg' command, a new process with a different pid is created instead of reviving the old process, i.e, the activity of the specified pid is executed but the new process has different pid.\n5. For iMan, the name of command is only specified under the Name section and not in the top right and top left corners.\n6. The pastevents command sometimes prints extra '\\n' characters in the terminal.\n7. On pressing Ctrl-C when a process is not running, it shows ^C but if enter is pressed or command is typed, it works normally.\n8. On pressing Ctrl-D, \"Killed\" is displayed.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsankalpbahad%2Flinux-shell","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsankalpbahad%2Flinux-shell","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsankalpbahad%2Flinux-shell/lists"}