{"id":23092513,"url":"https://github.com/raresracsan/cpp-shell","last_synced_at":"2026-05-01T14:33:18.095Z","repository":{"id":247972172,"uuid":"827232998","full_name":"RaresRacsan/Cpp-Shell","owner":"RaresRacsan","description":"Linux Shell in c++","archived":false,"fork":false,"pushed_at":"2024-07-18T11:28:11.000Z","size":20526,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-03T18:37:16.010Z","etag":null,"topics":["cpp","linux-shell","terminal"],"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/RaresRacsan.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":"2024-07-11T08:49:32.000Z","updated_at":"2024-10-31T13:05:28.000Z","dependencies_parsed_at":"2024-07-18T13:27:17.314Z","dependency_job_id":null,"html_url":"https://github.com/RaresRacsan/Cpp-Shell","commit_stats":null,"previous_names":["raresracsan/cpp-shell"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/RaresRacsan/Cpp-Shell","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RaresRacsan%2FCpp-Shell","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RaresRacsan%2FCpp-Shell/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RaresRacsan%2FCpp-Shell/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RaresRacsan%2FCpp-Shell/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/RaresRacsan","download_url":"https://codeload.github.com/RaresRacsan/Cpp-Shell/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RaresRacsan%2FCpp-Shell/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32501399,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-30T13:12:12.517Z","status":"online","status_checked_at":"2026-05-01T02:00:05.856Z","response_time":64,"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":["cpp","linux-shell","terminal"],"created_at":"2024-12-16T21:34:16.824Z","updated_at":"2026-05-01T14:33:18.064Z","avatar_url":"https://github.com/RaresRacsan.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# MyShell\nIt is a simple Unix-like shell implemented in C++. It supports several built-in commands and provides basic file and process management functionalities. This project serves as a learning tool for understanding how command-line interpreters work.\n\n## Features\n- Built-in Commands: Supports common shell commands such as cd, ls, cp, rm, echo, mkdir, and more.\n- File Operations: Provides file manipulation commands like cat, head, tail, sort, and cp.\n- Process Management: Includes commands like ping and exit.\n- Error Handling: Basic error handling for incorrect usage of commands.\n\n## Commands\n\nHere is a list of supported built-in commands:\n\n- cd \u003cdirectory\u003e: Change the current directory.\n- help: Display information about built-in commands.\n- exit: Exit the shell.\n- ls: List files in the current directory.\n- echo \u003cmessage\u003e: Print a message to the terminal.\n- touch \u003cfile\u003e: Create a new file.\n- rm \u003cfile\u003e: Remove a file.\n- ping \u003chost\u003e: Ping a host.\n- pwd: Print the current working directory.\n- mkdir \u003cdirectory\u003e: Create a new directory.\n- cat \u003cfile\u003e: Display the contents of a file.\n- cp \u003csource\u003e \u003cdestination\u003e: Copy a file.\n- head \u003cnumber_of_lines\u003e \u003cfile\u003e: Display the first few lines of a file.\n- tail \u003cnumber_of_lines\u003e \u003cfile\u003e: Display the last few lines of a file.\n- sort \u003cfile\u003e: Sort the contents of a file and display the sorted lines.\n\n## How to Use\n\nCompile: Compile the project using a C++ compiler.\n\n```sh\ng++ MyShell.cpp functions.cpp -o myshell\n```\n\nRun: Execute the compiled binary:\n\n```sh\n./myshell\n```\nInteract: Use the supported commands in the shell prompt (\u003e\u003e).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fraresracsan%2Fcpp-shell","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fraresracsan%2Fcpp-shell","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fraresracsan%2Fcpp-shell/lists"}