Skip to content

TheCharmingSociopath/C-Shell

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Shell made by TheCharmingSociopath

File structure:

  • headers.h contains the declarations, libraries and constants
  • main.c contains the main function, and the main loop
  • core_functions.c contains the functions required for the working of the main file, like readline, execute, wait handler for background processes, etc.
  • rest .c files contain one command each, which is the file name, and contain all the remaining functions related to that file.
  • makefile builds the project into an executeable called shell

Commands to run:

  • make
  • chmod 777 shell
  • ./shell

Notes:

About

A simple replica of Bash shell written in C.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published