/octoshell

Shell project for CS 321 (Spring 2022) at UAF.

Primary LanguageC++

octoshell 🐙🐚

  • CS 321: Final Project (Spring 2022)

Building

mkdir build
cd build
cmake ..
make
./terminal

See it in action

asciicast

Requirements

  • External commands
    • ls
    • emacs
  • Internal commands
    • exit: terminate the shell
    • print: print out the current pid
    • help: help information of your shell
  • Multiple commands
    • ampersand (&): multiple commands on one line
  • Input of lines of up to 100 characters
    • Words consist of the characters A–Z, a–z, 0–9, dash, dot, forward slash, and underscore.