{"id":37160952,"url":"https://github.com/aymen-haddaji-hub/unix_go_shell","last_synced_at":"2026-01-14T19:09:27.749Z","repository":{"id":157709557,"uuid":"524697291","full_name":"Aymen-haddaji-hub/Unix_Go_Shell","owner":"Aymen-haddaji-hub","description":"Go implementation of the Unix command line interpreter","archived":false,"fork":false,"pushed_at":"2022-08-14T14:43:44.000Z","size":1172,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-06-19T17:57:48.604Z","etag":null,"topics":["go","linux","linux-shell","shell","unix"],"latest_commit_sha":null,"homepage":"","language":"Go","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/Aymen-haddaji-hub.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":"2022-08-14T14:40:37.000Z","updated_at":"2022-08-14T14:48:12.000Z","dependencies_parsed_at":null,"dependency_job_id":"c7c855fc-19c6-4015-a43a-3a3e989d32a7","html_url":"https://github.com/Aymen-haddaji-hub/Unix_Go_Shell","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Aymen-haddaji-hub/Unix_Go_Shell","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Aymen-haddaji-hub%2FUnix_Go_Shell","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Aymen-haddaji-hub%2FUnix_Go_Shell/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Aymen-haddaji-hub%2FUnix_Go_Shell/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Aymen-haddaji-hub%2FUnix_Go_Shell/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Aymen-haddaji-hub","download_url":"https://codeload.github.com/Aymen-haddaji-hub/Unix_Go_Shell/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Aymen-haddaji-hub%2FUnix_Go_Shell/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28431556,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-14T18:57:19.464Z","status":"ssl_error","status_checked_at":"2026-01-14T18:52:48.501Z","response_time":107,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["go","linux","linux-shell","shell","unix"],"created_at":"2026-01-14T19:09:25.302Z","updated_at":"2026-01-14T19:09:27.742Z","avatar_url":"https://github.com/Aymen-haddaji-hub.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Unix Command Line Interpreter - GO implementation\n\n## Introduction\n\nThis is a simple implementation of the Unix command line interpreter in Go.\n\n## Features\n\n### built-in commands\n\n- `cd`: change directory\n- `pwd`: print working directory\n- `ls`: list files in current directory\n- `cat`: concatenate files and print on standard output\n- `rm`: remove files\n- `mkdir`: create directories\n- `rmdir`: remove directories\n- `touch`: create empty files\n- `mv`: move files\n- `cp`: copy files\n- `grep`: search for a pattern in files\n- `wc`: count lines, words and bytes in files\n- `sed`: search and replace text in files\n- `history`: show command history\n- `clear`: clear command history\n- `exit`: exit the interpreter\n\n### external commands\n\n- `man`: show manual page for a command\n- `help`: show help for a command\n- `which`: show path for a command\n- `whereis`: show path for a command\n- `type`: show type of a file\n- `locate`: show path for a file\n- `apropos`: show all commands matching a pattern\n- `whatis`: show description for a command\n- `alias`: show or set aliases\n- `unalias`: remove aliases\n- `set`: show or set options\n- `unset`: remove options\n- `export`: show or set environment variables\n- `read`: read a file into the current shell\n- `.`: source a file\n\n\n## Installation\n\n### go get\n\n```bash\ngo get -u github.com/Aymen-haddaji-hub/Unix_Go_Shell\n```\n\n### go install\n\n```bash\ngo install github.com/Aymen-haddaji-hub/Unix_Go_Shell\n```\n\n## Usage\n\n```bash\n$ go run main.go helper.go builtin.go\n```\n\n## Build\n\n```bash\n$ go build -o go-shell main.go helper.go builtin.go\n```\n\n## Run\n\n```bash\n$ ./go-shell\n```\n\n## License\n\nThis program is free software: you can redistribute it and/or modify\nit under the terms of the GNU General Public License as published by\nthe Free Software Foundation, either version 3 of the License, or\n(at your option) any later version.\n\nThis program is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\nGNU General Public License for more details.\n\nYou should have received a copy of the GNU General Public License\nalong with this program.  If not, see \u003chttp://www.gnu.org/licenses/\u003e.\n\n## Authors\n\n- AymenHaddaji \u003c [@AymenHaddaji](aymensystem7@gmail.com) \u003e\n\n## Future improvements\n\n- add support for external commands\n- add support for pipes\n- add support for redirections\n- add support for multiple commands\n- add support for history\n- add support for aliases\n- add support for environment variables\n- add support for functions\n\n\n## Contributors\n\n- [@AymenHaddaji](aymensystem7@gmail.com)\n\n\n## Bugs\n\n- please report any bugs to [@AymenHaddaji](aymensystem7@gmail.com)\nor create an issue on [Github](https://github.com/Aymen-haddaji-hub/Unix_Go_Shell)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faymen-haddaji-hub%2Funix_go_shell","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faymen-haddaji-hub%2Funix_go_shell","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faymen-haddaji-hub%2Funix_go_shell/lists"}