Pregunta de entrevista de Meta

Coding is the basic algorithm coding challenging. System interview will ask more details questions regarding with Linux and networking, like what happens when you typed 'ls' in the terminal.

Respuesta de la entrevista

Anónimo

30 de ene de 2017

your shell process forks and waits on son's process to finish. The son process execv's /bin/ls (with parameters you sent), run, and returns output to same output as of the shell's process output - usually the screen unless used an output redirection.