Skip to content

Latest commit

 

History

History
44 lines (19 loc) · 1.09 KB

README.md

File metadata and controls

44 lines (19 loc) · 1.09 KB

Pipex

Looking underneath the infamous ( | ) command and learning to execute multiple commands in one line.

Learning Goal:

[1.]☑ Usage of the Pipe ( | ) operator,

[2.]☑ Learning how linux handle processes,

[3.]☑ Usage of the heredoc, execve, dup,dup2 functions,

[4.]☑ fork() , Child and Parent process,

[5.]☑ File descriptors and when and what happens with stdin, stdout, stderror,

[6.]☑ usage of perror.

Functions/Ideas yet to be discovered more:

[7.] unlink , access, strerror

[8.] How to shorten your Flags(O_CREAT) for open/close function by using void pointer.

One basic applications of the operator is here:

image

heredoc applications:

image

Sources Used to learn :

  1. https://csnotes.medium.com/pipex-tutorial-42-project-4469f5dd5901
  2. https://www.youtube.com/watch?v=6xbLgZpOBi8