Skip to content

harryviennot/Minishell-2

Repository files navigation

Minishell-2

  • Language: C

Subject

The goal of the project is to enrich your minishell1 project by adding semicolons (‘;’), pipes (‘|’), and the four redirections (‘>’, ‘<’, ‘>>’, ‘<<’) management. Here is a simple example of a command you must hanlde:

∼/B-PSU-210> ./mysh
> mkdir test ; cd test ; ls -a ; ls | cat | wc -c > tutu ; cat tutu
...
5
>

Authorized functions

  • malloc, free, exit, opendir, readdir, closedir, getcwd, chdir
  • fork, stat, lstat, fstat, open, close, getline
  • read, write, execve, isatty, wait, waitpid
  • wait3, wait4, signal, kill, getpid, strerror, perror, strsignal
  • pipe, dup, dup2

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors