¡GoConqr estrena diseño! Cuéntanos qué te parece.

Módulo 20 de 22 · Multimedia

NE-4.Read from console to a file

Kostas Diakogiannis

NE-4.Read from console to a file

NE-4. Read from a console, write to a file

Well done, now we will make a bit of combination of working with the filesystem, and working with node.js process arguments. 

So what you will be asked to do, is write a script that when executed from node.js command line interface, accepts a process argument (more than three if it is more than one words), grabs the text after the `node index.js`  and appends it into a file. See the execution example above.

Put every new text in a new line if you can as a small bonus.

 

Instrucciones

Para avanzar en el curso, envía un intento de este test. Puedes enviarlo después de la última pregunta.

Ir al módulo elegido

Escríbenos

¿Sobre qué es tu mensaje?

¿Qué te parece el nuevo diseño?

¿Te gusta?