Skip to content

An educational project exploring UNIX process control, pipes, and inter-process communication.

Notifications You must be signed in to change notification settings

19Jillian89/Pipex

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pipex

Language Score Status Bonus 42


🔍 Project Overview

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

▶️ Execution

./pipex infile "cmd1" "cmd2" outfile

Equivalent to the shell command:

< infile cmd1 | cmd2 > outfile

Example:

./pipex input.txt "grep hello" "wc -l" output.txt

📄 License

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.


About

An educational project exploring UNIX process control, pipes, and inter-process communication.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published