{"id":19825552,"url":"https://github.com/capeddemon/commandconsole","last_synced_at":"2025-08-01T03:05:40.053Z","repository":{"id":43733761,"uuid":"422122849","full_name":"CapedDemon/CommandConsole","owner":"CapedDemon","description":"This is a shell made using C++ language.","archived":false,"fork":false,"pushed_at":"2022-10-26T09:38:44.000Z","size":1823,"stargazers_count":16,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-12-03T15:48:40.959Z","etag":null,"topics":["cross-platform","hacktoberfest","hacktoberfest-accepted","hacktoberfest2022","lightweight","linux","open-source","secure","terminal","userfriendly"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/CapedDemon.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-10-28T08:22:25.000Z","updated_at":"2023-12-03T07:39:32.000Z","dependencies_parsed_at":"2022-08-19T17:51:07.050Z","dependency_job_id":null,"html_url":"https://github.com/CapedDemon/CommandConsole","commit_stats":null,"previous_names":[],"tags_count":20,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CapedDemon%2FCommandConsole","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CapedDemon%2FCommandConsole/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CapedDemon%2FCommandConsole/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CapedDemon%2FCommandConsole/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/CapedDemon","download_url":"https://codeload.github.com/CapedDemon/CommandConsole/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":230296563,"owners_count":18204215,"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":["cross-platform","hacktoberfest","hacktoberfest-accepted","hacktoberfest2022","lightweight","linux","open-source","secure","terminal","userfriendly"],"created_at":"2024-11-12T11:08:02.567Z","updated_at":"2024-12-19T20:55:10.474Z","avatar_url":"https://github.com/CapedDemon.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ca name=\"readme-top\"\u003e\u003c/a\u003e\r\n![](https://img.shields.io/maintenance/yes/2022)\r\n![](https://img.shields.io/readthedocs/cplusplus)\r\n![](https://img.shields.io/github/stars/Shreejan-35/CommandConsole)\r\n![](https://img.shields.io/github/last-commit/Shreejan-35/CommandConsole)\r\n[![CodeFactor](https://www.codefactor.io/repository/github/capeddemon/commandconsole/badge)](https://www.codefactor.io/repository/github/capeddemon/commandconsole)\r\n![](https://img.shields.io/github/license/Shreejan-35/CommandConsole)\r\n![](https://img.shields.io/github/issues/Shreejan-35/CommandConsole)\r\n\r\n\u003cp align=\"left\"\u003e \u003ca href=\"https://www.gnu.org/software/bash/\" target=\"_blank\"\u003e \u003cimg src=\"https://www.vectorlogo.zone/logos/gnu_bash/gnu_bash-icon.svg\" alt=\"bash\" width=\"40\" height=\"40\"/\u003e \u003c/a\u003e\r\n\r\n\u003cdiv align=\"center\"\u003e\r\n\u003ch1 align=\"center\"\u003eCommandConsole\u003c/h1\u003e\r\n\u003ch4 align=\"center\"\u003eJoin our discord - \u003c/h4\u003e\r\n\u003ca href=\"https://discord.gg/ThqEgJVn\"\u003eCommandConsole Server\u003c/a\u003e\r\n\u003cbr\u003e\r\nAs the name suggests this is a shell like software. Like a normal shell in linux or command prompt in windows, it also works like the same. It is made using C++ language and my motive of building this software is to refresh my C++ language skills and to make something which can take command and work.\r\n\u003cbr/\u003e\r\n\u003cimg src=\"https://github.com/Shreejan-35/CommandConsole/blob/main/images/CommandLogo.png\" alt= \"..\"\u003e\r\n\r\n\u003c/div\u003e\r\n\r\n\u003cdetails\u003e\r\n  \u003csummary\u003eTable of Contents\u003c/summary\u003e\r\n  \u003col\u003e\r\n    \u003cli\u003e\r\n      \u003ca href=\"#features\"\u003eFEATURES\u003c/a\u003e\r\n    \u003c/li\u003e\r\n    \u003cli\u003e\r\n      \u003ca href=\"#documentation\"\u003eDOCUMENTATION\u003c/a\u003e\r\n      \u003cul\u003e\r\n        \u003cli\u003e\u003ca href=\"#commands\"\u003eCOMMANDS\u003c/a\u003e\u003c/li\u003e\r\n\t\t\u003cli\u003e\u003ca href=\"#internet\"\u003eINTERNET\u003c/a\u003e\u003c/li\u003e\r\n\t\t\u003cli\u003e\u003ca href=\"#important\"\u003eIMPORTANT\u003c/a\u003e\u003c/li\u003e\r\n      \u003c/ul\u003e\r\n    \u003c/li\u003e\r\n    \u003cli\u003e\u003ca href=\"#getting-sarted\"\u003eGETTING STARTED\u003c/a\u003e\r\n\t\t\u003cul\u003e\r\n\t\t\t\u003cli\u003e\u003ca href=#screenshot\u003eSCREENSHOT\u003c/a\u003e\r\n\t\t\u003c/ul\u003e\r\n\t\u003c/li\u003e\r\n    \u003cli\u003e\u003ca href=\"#history\"\u003eHISTORY\u003c/a\u003e\u003c/li\u003e\r\n    \u003cli\u003e\u003ca href=\"#contributing\"\u003eCONTRIBUTING\u003c/a\u003e\u003c/li\u003e\r\n    \u003cli\u003e\u003ca href=\"#support\"\u003eSUPPORT\u003c/a\u003e\u003c/li\u003e\r\n    \u003cli\u003e\u003ca href=\"#license\"\u003eLICENSE\u003c/a\u003e\u003c/li\u003e\r\n  \u003c/ol\u003e\r\n\u003c/details\u003e\r\n\r\n## **FEATURES**\r\n\r\n- Light Weight\r\n- Fast\r\n- Secure\r\n- Cross-Platform\r\n- User friendly\r\n\r\n\u003cp align=\"right\"\u003e(\u003ca href=\"#readme-top\"\u003eback to top\u003c/a\u003e)\u003c/p\u003e\r\n\r\n## **Documentation**\r\n\r\n![](https://github.com/Shreejan-35/CommandConsole/blob/main/images/Overview.jpg)\r\n\r\n\u003cbr/\u003e\r\nThe main program is written in the main.cpp file and the functions written there are in there individual files and I have made them header files and included them where it is necessary. All the code is written in C++ language. I have included CommandConsole.exe file of the main.c++ file. I have run it in my system and it worked fine doing all the things.\r\n\r\n\u003cbr/\u003e\r\n\r\n### Commands:\r\n\r\n- Calculator: calc\r\n- Change Current Working Directory: ccwd\r\n- Clear the Screen: clr\r\n- Show the time: time\r\n- Make new directory: mkdr\r\n- Help(which show all the function to be run): help\r\n- List all the files and directories: list\r\n- Create new file: make\r\n- Print the current working directory: pcwd\r\n- Remove the file: remo\r\n- Remove the directory file: rmdr\r\n- Append something in a file: wrta\r\n- Write something in a file: wrte\r\n- Print the content of the file: read\r\n- Change the username and password: cnge\r\n- Copy the contents of one file to another file: cfile\r\n- Print the information of OS: sys\r\n- Print the thing you wanted: echo\r\n- Print username \u0026 password: root\r\n- Rename the file: rfile\r\n- Rename the folder: rdr\r\n- To confirm that a file or folder is present in a directory specified by you: getf\r\n- To get the number of line of a file in which a specified word is present: findf\r\n- To get the list of past commands: hist\r\n- To start a game: game.\r\n  (A new cricket game is added to this application so that the users can enjoy while doing work. Check Others/cricket.hpp)\r\n\r\n\u003cp align=\"right\"\u003e(\u003ca href=\"#readme-top\"\u003eback to top\u003c/a\u003e)\u003c/p\u003e\r\n\r\n### Internet\r\n\r\nNow, in CommandConsole you can find things related to internet like ping to a website, getting the IPv4 address, etc\r\nThe commands are :-\r\n\r\n- Print the IPv4 address: ipad\r\n\r\n**We have used the concept of _Queue_ in the code using the stl library.**\r\n\r\nAll the functions are written in **MainCommands.hpp**\r\n\r\n\u003cp align=\"right\"\u003e(\u003ca href=\"#readme-top\"\u003eback to top\u003c/a\u003e)\u003c/p\u003e\r\n\r\n### Important:\r\n\r\n- Provide the correct command or else it will show \"GIVE THE RIGHT COMMAND :}\u003e\".\r\n- Type quit to stop the shell.\r\n- When changing the directory provide the exact name of the directory.\r\n\r\n\u003cp align=\"right\"\u003e(\u003ca href=\"#readme-top\"\u003eback to top\u003c/a\u003e)\u003c/p\u003e\r\n\r\n\r\n## \u003cbr/\u003e\r\n\r\n## **GETTING STARTED**\r\n\r\n![](https://github.com/Shreejan-35/CommandConsole/blob/main/images/Download.jpg)\r\n\r\nIf you have docker installed then it is very good. The steps to execute the software using docker are as follows:-\r\n\r\n- type :-\r\n\r\n```\r\ndocker run -it shreejan35/commandconsole:version (The latest version is available in the releases).\r\n```\r\n\r\n_Try to use the laterst version which is bug free_\r\n\r\n- It will pull the image from the docker hub.\r\n- When all the things are done it will start the program.\r\n- It will be like a normal shell. First of all type 'list' then check that all the files which are there in the github are shown there.\r\n- Don't do anything there or else the software will not work as that is the only working directory.\r\n- I have made another directory for you all, i.e, home. Go there by using 'ccwd' command.\r\n- Finally test all the commands.\r\n- Here is my docker repository link - https://hub.docker.com/repository/docker/shreejan35/commandconsole\r\n\r\nYou can clone my repository by executing this:-\r\n\r\n```\r\ngit clone https://github.com/CapedDemon/CommandConsole.git\r\n```\r\n\r\n**To run CommandConsole in linux/unix run:-**\r\n\r\n```\r\nsudo apt-get install wine\r\nwine CommandConsole.exe\r\n```\r\n\r\nYou can also download the zip file, and then run the CommandConsole.exe file.\r\n\r\n**Prerequisite**\r\n\r\n- Git need to be installed\r\n- The folder or directory in which you have kept the application need to have the name CommandConsole or else there can be some error.\r\n\r\n### Screenshot\r\n\r\n![](https://github.com/Shreejan-35/CommandConsole/blob/main/images/Screenshot.JPG)\r\n\u003cp align=\"right\"\u003e(\u003ca href=\"#readme-top\"\u003eback to top\u003c/a\u003e)\u003c/p\u003e\r\n\r\n\r\n## **HISTORY**\r\n\r\n\u003e Probably saying the Command Console is written in C which you can check in the previous versions/releases.\r\n\u003e But with modern days comes modern tech. which is needed. That's why it is implemented in c++.\r\n\r\n\u003cp align=\"right\"\u003e(\u003ca href=\"#readme-top\"\u003eback to top\u003c/a\u003e)\u003c/p\u003e\r\n\r\n## **CONTIBUTING**\r\n\r\nContributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are **greatly appreciated**.\r\n\r\nIf you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag \"enhancement\".\r\nDon't forget to give the project a star! Thanks again!\r\n\r\n1. Fork the Project\r\n2. Create your Feature Branch (`git checkout -b CommandConsole`)\r\n3. Commit your Changes (`git commit -m 'Add some advices'`)\r\n4. Push to the Branch (`git push origin CommandConsole`)\r\n5. Open a Pull Request\r\n\r\n\u003cp align=\"right\"\u003e(\u003ca href=\"#readme-top\"\u003eback to top\u003c/a\u003e)\u003c/p\u003e\r\n\r\n## **SUPPORT**\r\nSupport me by giving a ✨ to this project\r\n\r\n\u003cp align=\"right\"\u003e(\u003ca href=\"#readme-top\"\u003eback to top\u003c/a\u003e)\u003c/p\u003e\r\n\r\n## LICENSE\r\nThe license is GNU public license see more n LICENSE\r\n\r\n\u003cp align=\"right\"\u003e(\u003ca href=\"#readme-top\"\u003eback to top\u003c/a\u003e)\u003c/p\u003e\r\n\r\n**This is all the things about my program. If you like it, then please share with others. This is a project which the begineers as well as intermediate programmers can build. Support me by following my github account. Thank you.**\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcapeddemon%2Fcommandconsole","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcapeddemon%2Fcommandconsole","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcapeddemon%2Fcommandconsole/lists"}