A method used to establish IPC between processes of the parent and child.
- Child Process shares the same pipes to allow for child-parent communication
- Pipes are unidirectional, you can read and write from same ppe

Reading Writing Pipe
- The writing pipe will write only if the reading pipe is empty or null
- The reading pipe can read only if the writing pipe is empty or null
Pipe Communication Types
Self Communication
- Create a pipe
- Send a message to the pipe
- Retrieve message from pipe, write it to stdout
- Send another message to pipe
- Retrieve message from pipe and write to stdout
Parent Child Communication
- Create a pipe
- Create a child process
- Parent process writes to pipe
- Child process retrieves message from pipe and writes to stdout
Two-way Communication
- Create two pipes:
- Pipe1: parent to write and child to read
- Pip2: child to write and parent to read
- Create child process
- Close unwanted ends not needed for process communication
- Close unwanted ends in parent process: read end of pipe1, write end of pipe2
- Close unwanted ends in child process: write end of pipe1, read end of pipe2
- Perform communication as required