The Pipex project is part of the 42 curriculum and focuses on:
- understanding UNIX processes,
- mastering file descriptors,
- using pipes, fork(), execve(), and dup2(),
- handling input/output redirection.
It’s an introduction to inter-process communication and how shell pipelines work internally.
📁 Project Structure
pipex/
├── libft/
│ ├── ft_strlen.c
│ ├── ft_strdup.c
│ ├── ...
│ └── Makefile
├── child_utils.c
├── find_cmd.c
├── handler_error.c
├── mem_utils.c
├── pipex.c
├── pipex.h
├── Makefile
└── README.md
./pipex infile "cmd1" "cmd2" outfile
< infile cmd1 | cmd2 > outfile
./pipex input.txt "grep hello" "wc -l" output.txt
This project is for educational purposes only and is part of the 42 Common Core curriculum. 42 Common Core curriculum,
🔗 If you found this project helpful or interesting, consider supporting it by starring ⭐️ or forking.