Skip to content

jainayush975/Interactive-Shell

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Shell in C

##Fully functional shell in c with some extra commands

###Has following features:

  1. Shell Prompt which shows username and current directory

  2. Execute builtin commands

  3. Background process with &

  4. Custum made commands for echo, pwd, cd , jobs ,kjob ,killallbg

  5. System commands with and without arguments

  6. pinfo :​ prints the process related info of your shell program

  7. Printing appropriate errors to stderr

  8. User can type the command anywhere in the command line i.e. by giving spaces, tabs etc

  9. Modularized code with a make file

  10. Implemanted signals

  11. Implemanted piping

  12. Implemanted redirection

  13. Implemanted piping with redirection

  14. Can take commands with random spaces and tabs

File included are:

  1. main.c
  2. mycommands.c
  3. mycommands.h
  4. Makefile

To run the shell:

$make

$./main

About

Fully functional shell in c with some extra commands

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published