Pregunta de entrevista de Shell

Basic Questions not difficult though.