Skip to content

Latest commit

 

History

History
31 lines (28 loc) · 959 Bytes

README.md

File metadata and controls

31 lines (28 loc) · 959 Bytes

Shit Shell (SHSH)

Features:

Set 1:

  • Internal shell command "exit" which terminates the shell
  • A command with no arguments
  • A command with arguments
  • A command, with or without arguments, executed in the background using &

Set 2:

  • A command, with or without arguments, whose output is redirected to a file
  • A command, with or without arguments, whose input is redirected from a file
  • A command, with or without arguments whose output is piped to the input of another command

Set 3:

  • Limited shell environment variables
  • Reading in the profile file on initialization of the shell and executing any commands inside
    • $PATH
    • $HISTFILE
    • $HOME
  • Implementing the buiiltin functions:
    • export
    • history
    • cd

Limitations

Redirecting

  • Cannot be done with custom commands

Background Processes

  • Cannot be done with custom commands

Piping

  • Non-existent