Skip to content

mdabir1203/Pipex

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

53 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Releases

No releases published

Packages

No packages published