{"id":26286653,"url":"https://github.com/minasamirsaad/simple_shell","last_synced_at":"2025-08-11T07:08:53.879Z","repository":{"id":164715820,"uuid":"638876530","full_name":"MinaSamirSaad/simple_shell","owner":"MinaSamirSaad","description":"It is an imitation of the Unix shell built in the C language","archived":false,"fork":false,"pushed_at":"2023-06-02T21:19:27.000Z","size":207,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-14T20:39:33.565Z","etag":null,"topics":["access","environments","execve","exit","fflush","fork","getline","infinite-loop","isatty","malloc-free","perror","shell","strtok","wait","waitpid"],"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/MinaSamirSaad.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":"AUTHORS","dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-05-10T09:44:15.000Z","updated_at":"2024-02-03T18:49:01.000Z","dependencies_parsed_at":null,"dependency_job_id":"fbc43f35-da5c-4098-9d7a-b6187b85293a","html_url":"https://github.com/MinaSamirSaad/simple_shell","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/MinaSamirSaad/simple_shell","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MinaSamirSaad%2Fsimple_shell","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MinaSamirSaad%2Fsimple_shell/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MinaSamirSaad%2Fsimple_shell/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MinaSamirSaad%2Fsimple_shell/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MinaSamirSaad","download_url":"https://codeload.github.com/MinaSamirSaad/simple_shell/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MinaSamirSaad%2Fsimple_shell/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":269844098,"owners_count":24484132,"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-08-11T02:00:10.019Z","response_time":75,"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":["access","environments","execve","exit","fflush","fork","getline","infinite-loop","isatty","malloc-free","perror","shell","strtok","wait","waitpid"],"created_at":"2025-03-14T20:34:10.735Z","updated_at":"2025-08-11T07:08:53.871Z","avatar_url":"https://github.com/MinaSamirSaad.png","language":"C","readme":"# Our Own Version Of Simple Shell\n\nIt is a clone of the Unix shell built in C language it is a great project from the ALX internship.\n## Allowed functions and system calls\n- access (man 2 access)\n- chdir (man 2 chdir)\n- close (man 2 close)\n- closedir (man 3 closedir)\n- execve (man 2 execve)\n- exit (man 3 exit)\n- _exit (man 2 _exit)\n- fflush (man 3 fflush)\n- fork (man 2 fork)\n- free (man 3 free)\n- getcwd (man 3 getcwd)\n- getline (man 3 getline)\n- getpid (man 2 getpid)\n- isatty (man 3 isatty)\n- kill (man 2 kill)\n- malloc (man 3 malloc)\n- open (man 2 open)\n- opendir (man 3 opendir)\n- perror (man 3 perror)\n- read (man 2 read)\n- readdir (man 3 readdir)\n- signal (man 2 signal)\n- stat (__xstat) (man 2 stat)\n- lstat (__lxstat) (man 2 lstat)\n- fstat (__fxstat) (man 2 fstat)\n- strtok (man 3 strtok)\n- wait (man 2 wait)\n- waitpid (man 2 waitpid)\n- wait3 (man 2 wait3)\n- wait4 (man 2 wait4)\n- write (man 2 write)\n## Features  \n- can work in interactive mode and non-interactive mode (pipe)\n- Handling the command lines with arguments\n- Handling the PATH \n- Implement the exit built-in, that exits the shell and handles the exit with arguments also\n- Implement the env built-in, that prints the current environment\n- Implement the setenv and unsetenv builtin commands\n- Implement the builtin command cd\n- Handling the comments (#)\n\n\n## Run the project\nClone the project  \n\n~~~bash  \n  git clone https://github.com/MinaSamirSaad/simple_shell.git\n~~~\n\nGo to the project directory  \n\n~~~bash  \n  cd simple_shell\n~~~\n\nCompilation  \n\n~~~bash  \ngcc -Wall -Werror -Wextra -pedantic -std=gnu89 *.c -o shell\n~~~\n\nStart the app \n\n~~~bash  \n./shell\n~~~  \n\n## Screenshots  \n![App Screenshot](https://github.com/MinaSamirSaad/simple_shell/blob/main/Screenshots/screenshots1.png)\n\n\n\n## Authors\n* **Mina Samir** =\u003e [MinaSamirSaad](https://github.com/MinaSamirSaad)\n* **Mina William** =\u003e [mina-william-23](https://github.com/mina-william-23)\n \n ","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fminasamirsaad%2Fsimple_shell","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fminasamirsaad%2Fsimple_shell","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fminasamirsaad%2Fsimple_shell/lists"}