An open API service indexing awesome lists of open source software.

https://github.com/bobis33/minishell

EPITECH PROJECT | UNIX SYSTEM PROGRAMMING | MINISHELL
https://github.com/bobis33/minishell

c command-interpreter epitech makefile shell unix

Last synced: 29 days ago
JSON representation

EPITECH PROJECT | UNIX SYSTEM PROGRAMMING | MINISHELL

Awesome Lists containing this project

README

        

# EPITECH PROJECT | UNIX_SYSTEM_PROGRAMMING (minishell1)



#### You have to program a UNIX command interpreter. The interpreter is expected to display a prompt ( $> , for example) and then wait for you to write a command line, which must be validated by a newline.

The prompt must be displayed again only after the command execution. Only basic command lines are expected to executed; no pipes, redirections or any other advanced features. The executables should be those found in the path, as indicated in the PATH variable.

If the executable cannot be found, you must display an error message and display the prompt again. Errors must be dealt with and must display the appropriate message on the error output.

You must correctly handle the PATH and the environment (by copying and restoring the initial env). You must implement the following builtins: cd, setenv, unsetenv, env, exit.

See the subject for further details !




### This project has been realized in solo :

* [email protected]



### You can use this program as it follows :
`make re && ./mysh`