Detect your IO-Link masters

If your IO-Link masters are connected to your network, you can use arp-scan command-line tool to discover and fingerprint ARP (Address Resolution Protocol) hosts.

sudo arp-scan -l

Checking the versions of your packages in your Node app

There is a package for everything in life ^^ Install npm-check-updates or use it directly with npx.

npx ncu

How to compress a folder with a password using the terminal?

If you can’t (or don’t want to) right click over the folder itself you can do as follows.

zip -er name_you_want.zip folder
  • e = encryption (use password)
  • r = recursive (everything inside that folder)

Are you a Web Developer running out of space in your hard disk?

Have you ever tried to remove those node modules that you never use anymore? You could get surprise about the tremendous amount of space you can recover.

Now, you can do it easily with npkill, a minimalist and elegant package that will recursively look for you node_modules and will show you the space they take. You can then select which ones you want to erase to free up space.

Do not install it, just use npx in any path you want.

npx npkill

How to find where things are installed in Linux?

You just need to use which command, for example lets find the installation path for Node.js

which node

This will return in my case:

/home/myusername/n/bin/node