Skip to content

Dhanush-Poduval/shell

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Shell

This is a project that mimics mordern shells and has two mode -

  1. interactive shell mode
  2. non interactive shell mode

interactive mode - uses prebuilt . predefined functions and are used to execute them if used by the user
non interactive mode - used to execute functions inside .sh files
The whole project is coded in c and cmake and is optimised using pointers and dynamic size allocation

Structure

shell
|-->lib
|    |
|    -->shell.h
|-->src
|    |
|    -->shell.c
|    |
|    -->main.c
|-->CMakeLists.txt

Run the project

git clone git@github.com:Dhanush-Poduval/shell.git
cd shell
cmake -S . -B build
cmake --build build
./build/shell_exec

About

Creating a basic shell in c

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors