{"id":16471107,"url":"https://github.com/kshru9/basic-shell","last_synced_at":"2025-07-19T05:02:20.741Z","repository":{"id":54085036,"uuid":"293516251","full_name":"kshru9/Basic-Shell","owner":"kshru9","description":"Basic shell commands written in C language","archived":false,"fork":false,"pushed_at":"2021-10-20T06:26:33.000Z","size":12,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-10T22:18:29.847Z","etag":null,"topics":["c","execvp","fork","grep","makefile","operating-system","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/kshru9.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}},"created_at":"2020-09-07T12:02:46.000Z","updated_at":"2023-05-02T15:27:47.000Z","dependencies_parsed_at":"2022-08-13T06:40:11.325Z","dependency_job_id":null,"html_url":"https://github.com/kshru9/Basic-Shell","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kshru9%2FBasic-Shell","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kshru9%2FBasic-Shell/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kshru9%2FBasic-Shell/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kshru9%2FBasic-Shell/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kshru9","download_url":"https://codeload.github.com/kshru9/Basic-Shell/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241085588,"owners_count":19907258,"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":["c","execvp","fork","grep","makefile","operating-system","shell"],"created_at":"2024-10-11T12:12:39.728Z","updated_at":"2025-02-28T01:39:06.609Z","avatar_url":"https://github.com/kshru9.png","language":"C","readme":"[![Work in Repl.it](https://classroom.github.com/assets/work-in-replit-14baed9a392b3a25080506f3b7b6d57f295ec2978f6f33ec97e36a161684cbe9.svg)](https://classroom.github.com/online_ide?assignment_repo_id=3009701\u0026assignment_repo_type=AssignmentRepo)\n\n# Assignment1\n## shell program in C language\n\nThis repository contains basic shell commands of linux operating system implemented in C language.\n\nThe list of commands are:\n* ls --\u003e list the contents of given directory or current working directory if no directory name passed\n* Cp --\u003e copies file to file, multiple files to directory and directory to directory\n* Cd --\u003e change the current working directory\n* rm --\u003e removes a file or a directory having multiple files and directories\n* Mkdir --\u003e makes a directory of given pathname\n* grep --\u003e It matches a search term in a file or multiple files and prints that line. If empty search term given, matches nothing. If no file name given, matches search term from standard input\n* Pwd --\u003e prints present working directory\n* Mv --\u003e It moves multiple files in a directory. It makes a new file and copy contents to destination file when two files are given in argument.\n* cat --\u003e displays the content of a file or multiple files in the terminal.\n* Chmod --\u003e changes the permission of file or directory given a octal representation of permissions.\n\n* The shell also runs builtin binaries like ps, pmap, etc of a command line \n\n## how to run the shell:\n\n- `fork` the repo from top right corner of the screen\n- Download/Clone the forked repo\n- Run `make` in the terminal to start the shell process\n- Try out any of the above commands in the shell process\n- Use `Ctrl + C` to exit the shell process\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkshru9%2Fbasic-shell","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkshru9%2Fbasic-shell","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkshru9%2Fbasic-shell/lists"}