aniansh19019 / raj-c-shell

A simple bash-like shell written in C along with a few external commands, with an option to use either the custom commands or the existing programs on the system (from $PATH)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Raj C Shell

A simple bash-like shell written in C along with a few external commands, with an option to use either the custom commands or the existing programs on the system (from $PATH).

The shell is a simple exercise in trying to learn about how shell programs such as bash work. This is NOT meant to be a viable daily-use shell, only a proof of concept! Feel free to go through the code!

Raj C Shell Screenshot

Installation

git clone https://github.com/aniansh19019/raj-c-shell
cd raj-c-shell
make

Usage

In the raj-c-shell directory,

To use your system's binaries:

./raj_shell

To use the custom binaries written in C:

./raj_shell 0

About

A simple bash-like shell written in C along with a few external commands, with an option to use either the custom commands or the existing programs on the system (from $PATH)


Languages

Language:C 98.7%Language:Makefile 1.3%