Skip to content

A collaborative project aimed at developing a basic shell program using the C programming language.

Notifications You must be signed in to change notification settings

AmrShoukry/simple_shell

Repository files navigation

#0x16. C - Simple Shell

Descriprion: Recreating the - Simple Shell as project in the alx program

Done in collaboration between Amr Shoukry and Mahmoud Elbehery

more details: Output Unless specified otherwise, your program must have the exact same output as sh (/bin/sh) as well as the exact same error output.

The only difference is when you print an error, the name of the program must be equivalent to your argv[0] (See below) Example of error with sh:

$ echo "qwerty" | /bin/sh /bin/sh: 1: qwerty: not found $ echo "qwerty" | /bin/../bin/sh /bin/../bin/sh: 1: qwerty: not found $ Same error with your program hsh:

$ echo "qwerty" | ./hsh ./hsh: 1: qwerty: not found $ echo "qwerty" | ./././hsh ./././hsh: 1: qwerty: not found $

About

A collaborative project aimed at developing a basic shell program using the C programming language.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages