Skip to content

Basic Shell implementation in C that can execute piped commands, asyncronous commands etc.

Notifications You must be signed in to change notification settings

csabagabor/Basic-Shell-implementation-in-C

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 

Repository files navigation

Basic Shell implementation in C

Basic Shell implementation in C
Feautures:

  • piped commands(more than 1 pipe allowed)
  • asyncronous commands(more than 2 asyncronous commands allowed)
  • redirect output of command to file
  • append output of command to file
  • redirect file to input of a command
  • supports some internal commands such as cd, echo, pwd, though it does not support all of them

Some examples
It has a bultin help menu accessible by typing help bandicam 2018-06-26 13-29-20-004

Output redirection:
bandicam 2018-06-26 13-33-47-147
Append output to file:
bandicam 2018-06-26 13-34-10-542
Input redirection:
bandicam 2018-06-26 13-34-44-556
pwd works as expected:
bandicam 2018-06-26 13-35-02-608
To exit the program, type exit..
bandicam 2018-06-26 13-35-09-015
Simple external command:
bandicam 2018-06-26 13-29-44-909
Basic example with 2 piped commands:
bandicam 2018-06-26 13-30-08-132
2 Asyncronous commands:
bandicam 2018-06-26 13-31-02-726
Usage of cd :
bandicam 2018-06-26 13-31-22-979
Creating files and directories and deleting them works as well:
bandicam 2018-06-26 13-32-27-818
bandicam 2018-06-26 13-32-58-506

About

Basic Shell implementation in C that can execute piped commands, asyncronous commands etc.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages