Question from the Node.js test

How to run `ls -l` through Node.js and display its result in console?

Hard

How to runls -l through Node.js and display its result in console?

const cp = require('child_process');
Author: Jean-marie CléryStatus: PublishedQuestion passed 790 times
Edit
0
Community EvaluationsNo one has reviewed this question yet, be the first!