Skip to content

Nitch-dev/simple_shell

Β 
Β 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

20 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

The simple_shell project πŸ’»

πŸ”₯ πŸ”₯ πŸ”₯ The Gate of Shell project πŸ”₯ πŸ”₯ πŸ”₯

In this project we were assigned to re-impliment the Bourn Again Shell (BASH)

This shell should:

  • Display diplay a prompt and wait for user to type a command. A command line always end with a newline.
  • The command lines are simple no semicolons no pipes no redirections or any other advanced features.
  • The command lines are only made of one lines. No urguments will be passed to the programs.
  • If an exutable can not be found it will print an arror message and display the prompt again.
  • Handle arrors.
  • It will aslo handle "End of file" condition (cntrl+D)

This Shell does not:

  • Use the PATH.
  • Impliment build-ins.
  • Handle special charactors: ", ', `, \, *, &, #.
  • Move the cursor.
  • Handle commands with arguments.

Usage:

clone repo make to only compile the code using gcc make run to compile and run the code using gcc

About

We're building a simple version of the Bourne-again shell (BASH)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 94.5%
  • Makefile 5.5%