Aymen-haddaji-hub / shell_v2

unix shell

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

shell_v2

Simple_Shell is our mini replicat of the processes of the 'bash' or 'sh' by executing commands and interacting with the kernel.

Current features

  • $PATH : Where the commands Runs
  • local and Environment variables
  • $? return values, $$ pid
  • $# number of arguments and $0-9
  • &&/|| as logical operators with multi-line continuation
  • using ; as is the command separator
  • using ~ expansion to current user's home directory
  • unclosed multi-line quote continuation
  • : as escaping
  • it Runs commands from the input as well as script files.

Built-ins:

  • help
  • exit
  • setenv
  • unsetenv
  • env (listing environment functionality only)
  • cd
  • alias
  • unalias
  • history

Getting started

About

unix shell


Languages

Language:C 100.0%