Skip to content

articuno12/Shell

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 

Repository files navigation

Shell

A standalone shell

Features

  • All basic commands
  • Semicolon separated multiple commands
  • Piping implemented
  • Foreground and Background Processes
  • List running Jobs
  • Killing all background jobs
  • exit and quit commands for exiting the shell
  • Signal handling like Ctrl+D, Ctrl+Z and Ctrl+C

Implementation

  • Code broken into appropriate modules
  • Each command implemented in separate file

Instructions

Instructions for using this shell

To compile and run :

make ./main

To run a command:

<command> <argument if any> ;

For making a process background:

<command> & ;

For piping :

<command1> | <command2>

For redirection :

<command> </>/>> <file>