{"id":17718940,"url":"https://github.com/harshanavkis/hash-shell","last_synced_at":"2025-03-31T12:44:55.683Z","repository":{"id":103431618,"uuid":"151724926","full_name":"harshanavkis/hash-shell","owner":"harshanavkis","description":"Command line interpreter","archived":false,"fork":false,"pushed_at":"2018-10-14T10:24:35.000Z","size":14,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2023-03-03T21:55:08.939Z","etag":null,"topics":["command-line-interface","operating-system","unix-like"],"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/harshanavkis.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":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-10-05T13:29:25.000Z","updated_at":"2018-10-14T10:24:36.000Z","dependencies_parsed_at":null,"dependency_job_id":"b8b313c5-0802-4308-879f-359537b625f9","html_url":"https://github.com/harshanavkis/hash-shell","commit_stats":null,"previous_names":[],"tags_count":0,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/harshanavkis%2Fhash-shell","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/harshanavkis%2Fhash-shell/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/harshanavkis%2Fhash-shell/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/harshanavkis%2Fhash-shell/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/harshanavkis","download_url":"https://codeload.github.com/harshanavkis/hash-shell/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246472617,"owners_count":20783226,"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":["command-line-interface","operating-system","unix-like"],"created_at":"2024-10-25T14:59:00.869Z","updated_at":"2025-03-31T12:44:55.659Z","avatar_url":"https://github.com/harshanavkis.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Hash: Command line interpreter\n\n**Ha**rsha **Sh**ell, is a command line interpreter written in C.\n\n## Features and Usage\n\nInitially when the shell is started, only commands from the /bin/ directory can be run.\n\n```bash\n\u003ehash ls -la\n```\n\n'\u003ehash' is output after execution after each command.\n\nUser defined paths can be appended to the internal path variable.\n\n```bash\n\u003ehash $PATH -a /usr/bin/\n/usr/bin/\n```\n\nAnd yes, the trailing '/' is necessary. After execution of the above command use the commands from the new directory as before.\n\n```bash\n\u003ehash wc hash.c\n 145  317 3546 hash.c\n ```\n \n Three built-in commands are provided:\n - cd   : can be used to change the working directory\n - exit : exit from hash\n - path : used to overwrite the path variable with a single path\n \n ```bash\n \u003ehash path \" \"\n \u003ehash ls\n 'ls' command not found in the current path.\n Try adding the path of the command through: $PATH -a [path].\n```\n\nIn the above test, path variable was cleared, and ls couldn't be found!!\n\nOutput from a command can be redirected to a desired file.\n\n```bash\n\u003ehash ls \u003e output\n```\n\noutput file contains the result of ls.\n\n## Stuff to add\n- [ ] Facility for batch processing\n- [ ] run many commands in parallel\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fharshanavkis%2Fhash-shell","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fharshanavkis%2Fhash-shell","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fharshanavkis%2Fhash-shell/lists"}