GoConqr hat ein neues Design! Sag uns, wie es dir gefällt.

Modul 20 von 22 · Medien

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.

 

Anleitung

Um im Kurs weiterzukommen, sende einen Versuch dieses Quiz ab. Du kannst ihn nach der letzten Frage absenden.

Zum gewählten Modul

Feedback

Worum geht es?

Wie gefällt dir das neue Design?

Dein Eindruck