/simple_shell

Building simple shells

Primary LanguageShell

Simple Shell

Simple Shell is a project that seeks to simulate the functionality of a real Bourne Again Shell

Compilation

In order to compile the program run

gcc *.c -o shell

Usage

#list files in current directory
[$USER]~$ ls
README.md   append_path.c  join_strings.c  shell.c  temp_shell    tokenize.c

# run the command with the full directory of the command
[$USER]~$ /bin/ls
README.md   append_path.c  join_strings.c  shell.c  temp_shell    tokenize.c

# echo command
[$USER]~$ echo Hello
Hello

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.