Skip to content

chaurasia-aditya/Simple-C-Shell

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple-C-Shell

This project is a simple shell implementation in C.

Table of Contents

Project Structure

│
├── include/
│ ├── common.h
| ├── utils.h
│ ├── cmd_exec.h
│ ├── func_impl.h
│ └── shell.h
│
├── src/
│ ├── impl/
│ │ ├── cd_impl.c
│ │ ├── env_impl.c
│ │ ├── exit_impl.c
│ │ ├── ls_impl.c
│ │ └── pwd_impl.c
│ ├── execute_cmd.c
│ ├── read_cmd.c
│ ├── shell.c
| └── main.c
│
├── Makefile
└── README.md

Building the Project

make

Building to execute unsupported commands

make RUN_UNSUPPORTED_CMD=1

Usage

./bin/shell

Supported Commands

  • pwd
  • ls
  • cd
  • exit
  • env

References

Here are some blogs that were particularly helpful during the development of this project:

  1. Stephen Brennan: Tutorial - Write a Shell in C
  2. Santiago: Coding your own Shell in C

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published