Skip to content

lucky017/penguin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Penguin Shell 🐧

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.


Features

  • Run external programs via fork and exec.
  • Built-in commands like cd and exit.
  • Path resolution with support for ~, ., and ...
  • Simple Makefile build system.

Installation

Clone the repository:

git clone https://github.com/lucky017/penguin.git
cd penguin

Compile and Run the executable (penguin):

make compile
make run  or ./penguin

Usage

Once 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 shell

You can use the special characters like:

.   - specifies the current working directory
..  - specifies the parent directory

Notes

  • Requires gcc and make.
  • Tested on Linux (POSIX-compliant systems).

About

A POSIX like shell using system calls from C Programming Language

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors