Do you like Penguins? Then you might like this too.
Penguin is a simple POSIX-like shell written in C. It supports basic command execution, some built-in UNIX commands, and is designed as a fun practice project to learn more about system calls and POSIX features.
- Run external programs via
forkandexec. - Built-in commands like
cdandexit. - Path resolution with support for
~,., and... - Simple Makefile build system.
Clone the repository:
git clone https://github.com/lucky017/penguin.git
cd penguinCompile and Run the executable (penguin):
make compile
make run or ./penguinOnce inside Penguin Shell, you can type commands like:
ls - to list the files and directories
cd - to change the current working directory
exit - to exit the shellYou can use the special characters like:
. - specifies the current working directory
.. - specifies the parent directory- Requires gcc and make.
- Tested on Linux (POSIX-compliant systems).