A Project to replicate the Unix Shell system and operations. It is an ALX Project written entirely on C with Michael Omoniyi.
Compile with GCC and flags like: -Wextra -Werror -Wall -pedantic -std=gnu89 Shell should be compiled this way: gcc -Wall -Werror -Wextra -pedantic -std=gnu89 *.c -o hsh
The shell should be tested this way in interactive mode:
$ ./hsh
(
But in non-interactive mode: $ echo "/bin/ls" | ./hsh hsh main.c shell.c test_ls_2 $ $ cat test_ls_2 /bin/ls /bin/ls $ $ cat test_ls_2 | ./hsh hsh main.c shell.c test_ls_2 hsh main.c shell.c test_ls_2 $
(Michael Omoniyi)[https://@github.com/MichaelOmoniyi]