Skip to content

Latest commit

 

History

History
29 lines (21 loc) · 665 Bytes

readme.md

File metadata and controls

29 lines (21 loc) · 665 Bytes

Simple Unix Shell. Based on this project prompt.

To build in terminal

  1. Clone repo and cd into folder:

    git clone https://github.com/NuttySalmon/simple-unix-shell.git
    cd simple-unix-shell
    
  2. Comple executable:

    gcc test.c -o test
    

Running shell

Shell can be run in interactive mode (prompt for user to type in commands) or in batch mode (runs commands from batch file)

  • To run in interactive mode:

    ./test
    
  • To run in batch mode:

    ./test [BATCH FILE PATH HERE]