Design-and-Code / the-dc-shell

A simple shell implemented in C

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

The DC Shell

A simple shell for UNIX like operating system. The shell can be used to execute a few basic commaands and mainly is a attempt to demonstrate how to work with C and the POSIX Api This shell was created as a part of the C Programming workshop hosted by A.J.Sarmah and Sid

Screenshots

shell

Installation Instructions

The shell only works with a UNIX based OS, we can use WSL if we are on windows. Following are the steps to follow to compile the shell

  1. For Debain based distros (Debain, Ubuntu, Linux Mint, Kali Linux, Pop OS etc) Run

sudo apt-get install cmake

sudo apt-get install ninja

  1. For Arch Based distros (Arch, Arco, Manjaro, Garuda etc) Run

pacman -S cmake

pacman -S ninja

  1. Clone the project and navigate to project folder and run

cmake -GNinja -S . -B build/

cd build

ninja

./the-dc-shell

  1. The Shell shall be up and running!

About

A simple shell implemented in C

License:Apache License 2.0


Languages

Language:C 94.6%Language:CMake 5.4%