Skip to content

ryanshepps/shsh

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Just another shell written in C

Topics

Resources

Stars

Watchers

Forks