Skip to content

rachitjain123/Linux-Mini-Shell

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

LINUX MINI SHELL USING C

Building and Running

    make;
    ./terminal;

To clear all unnecessary files

  • make clean

Features

  • C code implementation of a)cd b)pinfo c)echo d)ls [al] e)pwd.
  • Rest all basic commands implementation similar to terminal.
  • semicolon separated multiple commands
  • Foreground and Background implementations
  • quit command for exiting the shell
  • piping and redirection supported.
  • Signal Handling supported (ctrlC , ctrlZ ).
  • ls.c contains implementation of ls command, pinfo.c of pinfo command, built_in_commands contains implemtation of cd ,pwd and echo command.
  • terminal.c takes line as input and prints username and host and gives all commands to execute.c.
  • execute.c executes all the commands and contains the implementation of piping and redirection .

About

Mini Shell similar to Bash made using C

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published