Ok, after the long part 1, we continue our journey with Standard Input or STDIN. Following the concepts we discussed in part 1, we know that STDIN has a standard file descriptor of 0. In other words, every process created by the kernel in UNIX, has file descriptor 0 assigned to STDIN.
STDIN is the way a process or a command reads the provided input to perform some action, to then, produce STDOUT, STDERR, or sometimes nothing (In UNIX nothing often means success). Continue reading “Standard Input (STDIN), Output (STDOUT), and Error (STDERR) Explained (part 2)”