Monthly Archive: August 2017


How to run cli/unix commands from nodejs scripts?

There are two ways to do this: child_process.exec(command[, options][, callback]) // ls.js const { exec } = require(‘child_process’); exec(‘ls -lh /usr’, (error, stdout, stderr) => { if (error) { console.error(`exec error: ${error}`); return; }...


What does ip address mean?

The first time I saw that addres I was a bit confused. I used to think that was the only way to refer to your local machine. Turns out, is another way...