/pipex

Pipex is a project that re-creates in C the way two commands are piped together via | in the shell

Primary LanguageC

pipex - @42Born2Code

What's the goal of pipex?

Pipex is a project that re-creates in C the way two commands are piped together via | in the shell

Why would you do this?

So i could send data from process to another.

What did i learn from it?

  • Create child processes (fork).
  • How to use, create, duplicate and close file descriptors.
  • Execute a new process in an existing one.
  • Send data from one process to another via piping.
  • Check file existence and permission
  • What processes and process ids are.
  • How File descriptors work.
  • How to use file descriptor manipulation with stdin/stdout to send data from one to another process.
  • Use and unterstand the Enviroment variable