{"id":18930108,"url":"https://github.com/rushiljalal/rsh","last_synced_at":"2026-04-15T22:36:34.548Z","repository":{"id":260584361,"uuid":"881738455","full_name":"RushilJalal/rsh","owner":"RushilJalal","description":"A simple shell program","archived":false,"fork":false,"pushed_at":"2024-11-09T14:03:47.000Z","size":4,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-10T12:45:44.790Z","etag":null,"topics":["c","shell"],"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/RushilJalal.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,"zenodo":null}},"created_at":"2024-11-01T05:53:13.000Z","updated_at":"2024-11-09T14:04:25.000Z","dependencies_parsed_at":null,"dependency_job_id":"6ebdf306-70fd-45c2-82a7-b1ea8d80c5a3","html_url":"https://github.com/RushilJalal/rsh","commit_stats":null,"previous_names":["rushiljalal/rsh"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/RushilJalal/rsh","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RushilJalal%2Frsh","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RushilJalal%2Frsh/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RushilJalal%2Frsh/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RushilJalal%2Frsh/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/RushilJalal","download_url":"https://codeload.github.com/RushilJalal/rsh/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RushilJalal%2Frsh/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278741558,"owners_count":26037626,"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","status":"online","status_checked_at":"2025-10-07T02:00:06.786Z","response_time":59,"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":["c","shell"],"created_at":"2024-11-08T11:36:33.962Z","updated_at":"2025-10-07T08:22:53.559Z","avatar_url":"https://github.com/RushilJalal.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# rsh - A Simple Shell in C\n\nWelcome to `rsh`, a simple shell program written in C for UNIX-based systems. `rsh` provides basic shell functionalities with built-in commands like `cd`, `help`, and `exit`.\n\n### Note: This shell program will not work on Windows systems due to its dependence on Unix system calls and libraries. \n\n## Table of Contents\n\n- [About](#about)\n- [Features](#features)\n- [Installation](#installation)\n- [Usage](#usage)\n- [Built-in Commands](#built-in-commands)\n- [Examples](#examples)\n\n## About\n\n`rsh` is a minimalistic shell created to help users understand and experiment with shell basics. This project includes essential features and built-in commands, aiming to provide a foundation for further shell development.\n\n## Features\n\n- **Built-in Commands**: Support for essential commands like `cd`, `help`, and `exit`.\n- **Command Execution**: Execute both built-in and external commands.\n- **Error Handling**: Basic error handling for invalid commands and parameters.\n\n## Installation\n\nTo install and use `rsh` on your UNIX-based system, follow these steps:\n\n1. Clone the repository:\n\n    ```bash\n    git clone https://github.com/rushiljalal/rsh.git\n    ```\n\n2. Navigate to the project directory:\n\n    ```bash\n    cd rsh\n    ```\n\n3. Compile the code:\n\n    ```bash\n    gcc -o rsh rsh.c\n    ```\n\n4. Run `rsh`:\n\n    ```bash\n    ./rsh\n    ```\n\n## Usage\n\nOnce `rsh` is running, you can enter commands at the prompt. `rsh` will recognize both built-in and external commands, providing a basic interactive shell experience.\n\n```bash\nrsh\u003e \u003ccommand\u003e\n```\n\n## Built-in Commands\n\n`rsh` includes the following built-in commands:\n\n- **cd**: Change the current directory.\n  - **Usage**: `cd \u003cdirectory\u003e`\n\n- **help**: Display a list of available built-in commands and their usage.\n  - **Usage**: `help`\n\n- **exit**: Exit the shell.\n  - **Usage**: `exit`\n\n## Examples\n\n```bash\nrsh\u003e cd /home/user\nrsh\u003e help\nrsh\u003e ls -la\nrsh\u003e exit","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frushiljalal%2Frsh","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frushiljalal%2Frsh","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frushiljalal%2Frsh/lists"}