This project is a simple shell implementation in C.
│
├── 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
make
make RUN_UNSUPPORTED_CMD=1
./bin/shell
-
pwd
-
ls
-
cd
-
exit
-
env
Here are some blogs that were particularly helpful during the development of this project: