Skip to content

Customized tsh shell (shelllab) of CSED211, fall 2017, at POSTECH

Notifications You must be signed in to change notification settings

wldh-ug/CSED211_Shell

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Shelllab (TSH)

This is assignment repository for POSTECH CSED211 on 2017 fall semester.
Also known as CS:APP Shell Lab.

File Description

  • Makefile: Compiles your shell program and runs the tests
  • README: This file
  • tsh.c: The shell program that you will write and hand in
  • tshref: The reference shell binary.

The remaining files are used to test your shell

  • sdriver.pl: The trace-driven shell driver
  • trace*.txt: The 15 trace files that control the shell driver
  • tshref.out: Example output of the reference shell on all 15 traces

Little C programs that are called by the trace files

  • myspin.c: Takes argument and spins for seconds
  • mysplit.c: Forks a child that spins for seconds
  • mystop.c: Spins for seconds and sends SIGTSTP to itself
  • myint.c: Spins for seconds and sends SIGINT to itself

About

Customized tsh shell (shelllab) of CSED211, fall 2017, at POSTECH

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published