Skip to content

Design-and-Code/the-dc-shell

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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!