Skip to content

Latest commit

 

History

17 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

Implementation of a complete shell from scratch

The shell is implemented in C and is meant to be an easy implementation of it, providing the basic functions that a shell normally has. This shell is an open source side project developed by Lamberto Ragnolini in the Fall semester 2024.

The main features of it are the ability of handling the built in functions cd and echo in addition with all the executables present in your system. The prompt is custom for my shell but by changing the name in the script under the shell_name variables you will be able to have YOUR OWN PERSONAL PROMPT

The shell provides the fiollowing features: builtin function :

  • cd -> change directory
  • executables : i.e ls, ls-l , cat etc...
  • clear : clear command that clears the screen for linux users

The shell has no :

  • foreground/background processes
  • history
  • other builtin commands other than cd and echo

To run the shell use the following command : gcc -Wall -Wextra -pedantic *.c -o shell && ./shell

About

Initial part of the creation of a shell in C,

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages