justjosias / Sturtz-Shell

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Sturtz Shell

Shell for Sturtz Servers writen in C

(C)2020 Nathaniel Michael Sturtz

Features

  • Basic commands: exit, pwd, clear and cd
  • Environment management with setenv and unsetenv
  • Program invocation with forking and child processes
  • I/O redirection (use of dup2 system call) limited to the following:
    <cmd> <args> > <output>
    <cmd> <args> < <input> > <output>
  • Background execution of programs with &
  • Piping implemented (<cmd1> | <cmd2>) via pipe and dup2 syscalls. Multiple piping is allowed.
  • SIGINT signal when Ctrl-C is pressed (shell is not exited)

Sturtz-Shell

About


Languages

Language:C 99.0%Language:Makefile 1.0%