Skip to content

Latest commit

 

History

History
20 lines (10 loc) · 428 Bytes

README.md

File metadata and controls

20 lines (10 loc) · 428 Bytes

smallsh - a simple bash shell in C

To compile:

make

or

gcc -std=gnu99 -Wall -o smallsh main.c

Once the program has been compiled, type:

./smallsh

The shell accepts commands in the following syntax:

command [arg1 arg 2 ...] [< input_file] [> output_file] [&]

where items in square brackets are optional. The shell does not support any quoting or "|" pipe operators in the command.