moaazelsayed1 / wish

A basic shell implementation in C for the OSTEP course project.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Unix Shell

This is a custom implementation of a shell in C, created for educational purposes. It supports basic shell functionality such as running commands, parallel commands, redirecting output, and setting the search path.

Specifications

This shell is built as a project in the OSTEP course. You can find the project prompt and instructions here.

Building and Running

  1. Build the project
make
  1. Run the shell in interactive mode
./wish
  1. Run the shell in batch mode
./wish batchfile.txt

Function documentation

Each function is documented in the header file using the Google-style documentation format, for example:

/**
 * Runs a batch file containing a list of commands.
 *
 * @param fileName the name of the batch file containing the commands to be
 *executed
 */

About

A basic shell implementation in C for the OSTEP course project.


Languages

Language:C 61.7%Language:Shell 36.5%Language:Makefile 1.9%